diff --git a/composer.json b/composer.json index 26007c44..c8aa4f3a 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,8 @@ } }, "require-dev": { - "jane-php/open-api-3": "^7.2" + "jane-php/open-api-3": "^7.2", + "friendsofphp/php-cs-fixer": "^3.11" }, "config": { "bin-dir": "bin" diff --git a/composer.lock b/composer.lock index 96fcc7a9..de1d96c5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "497a468fe2ce88170ff78cbdb33b9292", + "content-hash": "cbf97bf335563a8121b13da8017b79c9", "packages": [ { "name": "clue/stream-filter", @@ -74,7 +74,7 @@ }, { "name": "jane-php/json-schema-runtime", - "version": "v7.2.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/janephp/json-schema-runtime.git", @@ -130,13 +130,13 @@ ], "description": "Jane runtime Library", "support": { - "source": "https://github.com/janephp/json-schema-runtime/tree/v7.2.0" + "source": "https://github.com/janephp/json-schema-runtime/tree/v7.3.1" }, "time": "2021-12-16T13:26:58+00:00" }, { "name": "jane-php/open-api-runtime", - "version": "v7.2.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/janephp/open-api-runtime.git", @@ -193,40 +193,44 @@ ], "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.2.0" + "source": "https://github.com/janephp/open-api-runtime/tree/v7.3.1" }, "time": "2021-12-16T13:26:58+00:00" }, { "name": "league/uri", - "version": "6.5.0", + "version": "6.8.0", "source": { "type": "git", "url": "https://github.com/thephpleague/uri.git", - "reference": "c68ca445abb04817d740ddd6d0b3551826ef0c5a" + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/c68ca445abb04817d740ddd6d0b3551826ef0c5a", - "reference": "c68ca445abb04817d740ddd6d0b3551826ef0c5a", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/a700b4656e4c54371b799ac61e300ab25a2d1d39", + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39", "shasum": "" }, "require": { "ext-json": "*", "league/uri-interfaces": "^2.3", - "php": "^7.3 || ^8.0", - "psr/http-message": "^1.0" + "php": "^8.1", + "psr/http-message": "^1.0.1" }, "conflict": { "league/uri-schemes": "^1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.19 || ^3.0", - "phpstan/phpstan": "^0.12.90", - "phpstan/phpstan-phpunit": "^0.12.22", - "phpstan/phpstan-strict-rules": "^0.12.11", - "phpunit/phpunit": "^8.0 || ^9.0", - "psr/http-factory": "^1.0" + "friendsofphp/php-cs-fixer": "^v3.9.5", + "nyholm/psr7": "^1.5.1", + "php-http/psr7-integration-tests": "^1.1.1", + "phpbench/phpbench": "^1.2.6", + "phpstan/phpstan": "^1.8.5", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.1.1", + "phpstan/phpstan-strict-rules": "^1.4.3", + "phpunit/phpunit": "^9.5.24", + "psr/http-factory": "^1.0.1" }, "suggest": { "ext-fileinfo": "Needed to create Data URI from a filepath", @@ -257,7 +261,7 @@ } ], "description": "URI manipulation library", - "homepage": "http://uri.thephpleague.com", + "homepage": "https://uri.thephpleague.com", "keywords": [ "data-uri", "file-uri", @@ -283,7 +287,7 @@ "docs": "https://uri.thephpleague.com", "forum": "https://thephpleague.slack.com", "issues": "https://github.com/thephpleague/uri/issues", - "source": "https://github.com/thephpleague/uri/tree/6.5.0" + "source": "https://github.com/thephpleague/uri/tree/6.8.0" }, "funding": [ { @@ -291,7 +295,7 @@ "type": "github" } ], - "time": "2021-08-27T09:54:07+00:00" + "time": "2022-09-13T19:58:47+00:00" }, { "name": "league/uri-interfaces", @@ -366,16 +370,16 @@ }, { "name": "php-http/client-common", - "version": "2.5.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/php-http/client-common.git", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054" + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/client-common/zipball/d135751167d57e27c74de674d6a30cef2dc8e054", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054", + "url": "https://api.github.com/repos/php-http/client-common/zipball/45db684cd4e186dcdc2b9c06b22970fe123796c0", + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0", "shasum": "" }, "require": { @@ -435,22 +439,22 @@ ], "support": { "issues": "https://github.com/php-http/client-common/issues", - "source": "https://github.com/php-http/client-common/tree/2.5.0" + "source": "https://github.com/php-http/client-common/tree/2.6.0" }, - "time": "2021-11-26T15:01:24+00:00" + "time": "2022-09-29T09:59:43+00:00" }, { "name": "php-http/discovery", - "version": "1.14.1", + "version": "1.14.3", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223" + "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/de90ab2b41d7d61609f504e031339776bc8c7223", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223", + "url": "https://api.github.com/repos/php-http/discovery/zipball/31d8ee46d0215108df16a8527c7438e96a4d7735", + "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735", "shasum": "" }, "require": { @@ -463,8 +467,7 @@ "graham-campbell/phpspec-skip-example-extension": "^5.0", "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1", - "puli/composer-plugin": "1.0.0-beta10" + "phpspec/phpspec": "^5.1 || ^6.1" }, "suggest": { "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" @@ -503,9 +506,9 @@ ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.1" + "source": "https://github.com/php-http/discovery/tree/1.14.3" }, - "time": "2021-09-18T07:57:46+00:00" + "time": "2022-07-11T14:04:40+00:00" }, { "name": "php-http/httplug", @@ -1034,25 +1037,25 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced" + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -1081,7 +1084,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1" }, "funding": [ { @@ -1097,24 +1100,24 @@ "type": "tidelift" } ], - "time": "2021-11-01T23:48:49+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.0.3", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d" + "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/51f7006670febe4cbcbae177cbffe93ff833250d", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a3016f5442e28386ded73c43a32a5b68586dd1c4", + "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/deprecation-contracts": "^2.1|^3" }, "type": "library", @@ -1148,7 +1151,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.0.3" + "source": "https://github.com/symfony/options-resolver/tree/v6.1.0" }, "funding": [ { @@ -1164,20 +1167,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", "shasum": "" }, "require": { @@ -1192,7 +1195,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1230,7 +1233,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" }, "funding": [ { @@ -1246,20 +1249,20 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", "shasum": "" }, "require": { @@ -1268,7 +1271,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1313,7 +1316,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" }, "funding": [ { @@ -1329,24 +1332,24 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:33+00:00" + "time": "2022-05-10T07:21:04+00:00" }, { "name": "symfony/serializer", - "version": "v6.0.5", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "c26ce23c36879d243909bb604585bd81351df416" + "reference": "0986800f0c394bd46443afbf0a05c4386ffa1cd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/c26ce23c36879d243909bb604585bd81351df416", - "reference": "c26ce23c36879d243909bb604585bd81351df416", + "url": "https://api.github.com/repos/symfony/serializer/zipball/0986800f0c394bd46443afbf0a05c4386ffa1cd6", + "reference": "0986800f0c394bd46443afbf0a05c4386ffa1cd6", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8" }, "conflict": { @@ -1414,7 +1417,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v6.0.5" + "source": "https://github.com/symfony/serializer/tree/v6.1.5" }, "funding": [ { @@ -1430,24 +1433,24 @@ "type": "tidelift" } ], - "time": "2022-02-24T10:01:27+00:00" + "time": "2022-09-29T11:04:32+00:00" }, { "name": "symfony/yaml", - "version": "v6.0.3", + "version": "v6.1.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e77f3ea0b21141d771d4a5655faa54f692b34af5" + "reference": "86ee4d8fa594ed45e40d86eedfda1bcb66c8d919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e77f3ea0b21141d771d4a5655faa54f692b34af5", - "reference": "e77f3ea0b21141d771d4a5655faa54f692b34af5", + "url": "https://api.github.com/repos/symfony/yaml/zipball/86ee4d8fa594ed45e40d86eedfda1bcb66c8d919", + "reference": "86ee4d8fa594ed45e40d86eedfda1bcb66c8d919", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -1488,7 +1491,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.0.3" + "source": "https://github.com/symfony/yaml/tree/v6.1.4" }, "funding": [ { @@ -1504,39 +1507,41 @@ "type": "tidelift" } ], - "time": "2022-01-26T17:23:29+00:00" + "time": "2022-08-02T16:17:38+00:00" } ], "packages-dev": [ { - "name": "doctrine/inflector", - "version": "2.0.4", + "name": "composer/pcre", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/doctrine/inflector.git", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + "url": "https://github.com/composer/pcre.git", + "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^4.10" + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1545,115 +1550,69 @@ ], "authors": [ { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", - "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", "keywords": [ - "inflection", - "inflector", - "lowercase", - "manipulation", - "php", - "plural", - "singular", - "strings", - "uppercase", - "words" + "PCRE", + "preg", + "regex", + "regular expression" ], "support": { - "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.4" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.0.0" }, "funding": [ { - "url": "https://www.doctrine-project.org/sponsorship.html", + "url": "https://packagist.com", "type": "custom" }, { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" + "url": "https://github.com/composer", + "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "url": "https://tidelift.com/funding/github/packagist/composer/composer", "type": "tidelift" } ], - "time": "2021-10-22T20:16:43+00:00" + "time": "2022-02-25T20:21:48+00:00" }, { - "name": "jane-php/json-schema", - "version": "v7.2.0", + "name": "composer/semver", + "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/janephp/json-schema.git", - "reference": "3d07477bce5aa8fbc5f8ba95f071a50de0d33f20" + "url": "https://github.com/composer/semver.git", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/json-schema/zipball/3d07477bce5aa8fbc5f8ba95f071a50de0d33f20", - "reference": "3d07477bce5aa8fbc5f8ba95f071a50de0d33f20", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, "require": { - "doctrine/inflector": "^1.4 || ^2.0", - "ext-json": "*", - "jane-php/json-schema-runtime": "^7.0", - "nikic/php-parser": "^4.0", - "php": "^7.2 || ^8.0", - "symfony/console": "^4.4 || ^5.0 || ^6.0", - "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", - "symfony/options-resolver": "^4.4 || ^5.0 || ^6.0", - "symfony/serializer": "^4.4 || ^5.0 || ^6.0", - "symfony/validator": "^4.4 || ^5.0 || ^6.0", - "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" - }, - "conflict": { - "nikic/php-parser": "<4.0.4", - "symfony/framework-bundle": "5.1.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", - "symfony/finder": "^4.4 || ^5.0 || ^6.0" - }, - "suggest": { - "friendsofphp/php-cs-fixer": "Allow to automatically fix cs on generated code for better visualisation" + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" }, - "bin": [ - "bin/jane" - ], "type": "library", "extra": { "branch-alias": { - "dev-next": "7-dev" + "dev-main": "3.x-dev" } }, "autoload": { "psr-4": { - "Jane\\Component\\JsonSchema\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Composer\\Semver\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1661,69 +1620,78 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "jwurtz@jolicode.com" + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" }, { - "name": "Baptiste Leduc", - "email": "baptiste.leduc@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" } ], - "description": "Generate a serializable / deserializable object model given a json schema", + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], "support": { - "source": "https://github.com/janephp/json-schema/tree/v7.2.0" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.3.2" }, - "time": "2022-02-15T17:29:08+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-04-01T19:23:25+00:00" }, { - "name": "jane-php/open-api-3", - "version": "v7.2.0", + "name": "composer/xdebug-handler", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/janephp/open-api-3.git", - "reference": "2302a2054bb1ab3fce6ca84c022a63b324e49172" + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/open-api-3/zipball/2302a2054bb1ab3fce6ca84c022a63b324e49172", - "reference": "2302a2054bb1ab3fce6ca84c022a63b324e49172", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "ext-json": "*", - "jane-php/json-schema": "^7.0", - "jane-php/open-api-common": "^7.0", - "nikic/php-parser": "^4.0", - "php": "^7.2 || ^8.0", - "symfony/serializer": "^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" - }, - "conflict": { - "nikic/php-parser": "<4.0.4", - "symfony/framework-bundle": "5.1.0" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "kriswallsmith/buzz": "^1.1", - "nyholm/psr7": "^1.3", - "phpunit/phpunit": "^8.0", - "symfony/finder": "^4.4 || ^5.0 || ^6.0" - }, - "suggest": { - "friendsofphp/php-cs-fixer": "To have a nice formatting of the generated files" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-next": "7-dev" - } - }, "autoload": { "psr-4": { - "Jane\\Component\\OpenApi3\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Composer\\XdebugHandler\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1731,66 +1699,68 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "jwurtz@jolicode.com" - }, - { - "name": "Baptiste Leduc", - "email": "baptiste.leduc@gmail.com" + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "Generate a PHP Client API (PSR7/PSR18 compatible) given a OpenApi 3.x specification", + "description": "Restarts a process without Xdebug.", "keywords": [ - "jane", - "openapi", - "swagger" + "Xdebug", + "performance" ], "support": { - "source": "https://github.com/janephp/open-api-3/tree/v7.2.0" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" }, - "time": "2022-02-15T17:29:06+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-02-25T21:32:43+00:00" }, { - "name": "jane-php/open-api-common", - "version": "v7.2.0", + "name": "doctrine/annotations", + "version": "1.13.3", "source": { "type": "git", - "url": "https://github.com/janephp/open-api-common.git", - "reference": "83ddf3b41c2f2e6fd9003da039d3ed53f3351b2a" + "url": "https://github.com/doctrine/annotations.git", + "reference": "648b0343343565c4a056bfc8392201385e8d89f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/open-api-common/zipball/83ddf3b41c2f2e6fd9003da039d3ed53f3351b2a", - "reference": "83ddf3b41c2f2e6fd9003da039d3ed53f3351b2a", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/648b0343343565c4a056bfc8392201385e8d89f0", + "reference": "648b0343343565c4a056bfc8392201385e8d89f0", "shasum": "" }, "require": { - "ext-json": "*", - "jane-php/json-schema": "^7.0", - "jane-php/open-api-runtime": "^7.0", - "php": "^7.2 || ^8.0", - "symfony/console": "^4.4 || ^5.0 || ^6.0", - "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", - "symfony/string": "^5.0 || ^6.0", - "symfony/translation-contracts": "^2.0", - "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0" + "doctrine/lexer": "1.*", + "ext-tokenizer": "*", + "php": "^7.1 || ^8.0", + "psr/cache": "^1 || ^2 || ^3" }, - "suggest": { - "jane-php/open-api-2": "Allow to generate OpenApi v2 clients", - "jane-php/open-api-3": "Allow to generate OpenApi v3 clients" + "require-dev": { + "doctrine/cache": "^1.11 || ^2.0", + "doctrine/coding-standard": "^6.0 || ^8.1", + "phpstan/phpstan": "^1.4.10 || ^1.8.0", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", + "symfony/cache": "^4.4 || ^5.2", + "vimeo/psalm": "^4.10" }, - "bin": [ - "bin/jane-openapi" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-next": "7-dev" - } - }, "autoload": { "psr-4": { - "Jane\\Component\\OpenApiCommon\\": "" + "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } }, "notification-url": "https://packagist.org/downloads/", @@ -1799,108 +1769,1051 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "jwurtz@jolicode.com" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" }, { - "name": "Baptiste Leduc", - "email": "baptiste.leduc@gmail.com" + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "Utility for OpenApi 2/3 generators", + "description": "Docblock Annotations Parser", + "homepage": "https://www.doctrine-project.org/projects/annotations.html", "keywords": [ - "jane", - "openapi", - "swagger", - "utility" + "annotations", + "docblock", + "parser" ], "support": { - "source": "https://github.com/janephp/open-api-common/tree/v7.2.0" + "issues": "https://github.com/doctrine/annotations/issues", + "source": "https://github.com/doctrine/annotations/tree/1.13.3" }, - "time": "2022-02-15T17:29:06+00:00" + "time": "2022-07-02T10:48:51+00:00" }, { - "name": "nikic/php-parser", - "version": "v4.13.2", + "name": "doctrine/inflector", + "version": "2.0.5", "source": { "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077" + "url": "https://github.com/doctrine/inflector.git", + "reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/ade2b3bbfb776f27f0558e26eed43b5d9fe1b392", + "reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25" }, - "bin": [ - "bin/php-parse" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, "autoload": { "psr-4": { - "PhpParser\\": "lib/PhpParser" + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Nikita Popov" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "A PHP parser written in PHP", + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" - }, - "time": "2021-11-30T19:35:32+00:00" - }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.5" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2022-09-07T09:01:28+00:00" + }, + { + "name": "doctrine/lexer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-02-28T11:07:21+00:00" + }, + { + "name": "friendsofphp/php-cs-fixer", + "version": "v3.11.0", + "source": { + "type": "git", + "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", + "reference": "7dcdea3f2f5f473464e835be9be55283ff8cfdc3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/7dcdea3f2f5f473464e835be9be55283ff8cfdc3", + "reference": "7dcdea3f2f5f473464e835be9be55283ff8cfdc3", + "shasum": "" + }, + "require": { + "composer/semver": "^3.2", + "composer/xdebug-handler": "^3.0.3", + "doctrine/annotations": "^1.13", + "ext-json": "*", + "ext-tokenizer": "*", + "php": "^7.4 || ^8.0", + "sebastian/diff": "^4.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/options-resolver": "^5.4 || ^6.0", + "symfony/polyfill-mbstring": "^1.23", + "symfony/polyfill-php80": "^1.25", + "symfony/polyfill-php81": "^1.25", + "symfony/process": "^5.4 || ^6.0", + "symfony/stopwatch": "^5.4 || ^6.0" + }, + "require-dev": { + "justinrainbow/json-schema": "^5.2", + "keradus/cli-executor": "^1.5", + "mikey179/vfsstream": "^1.6.10", + "php-coveralls/php-coveralls": "^2.5.2", + "php-cs-fixer/accessible-object": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", + "phpspec/prophecy": "^1.15", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "phpunitgoodpractices/polyfill": "^1.5", + "phpunitgoodpractices/traits": "^1.9.1", + "symfony/phpunit-bridge": "^6.0", + "symfony/yaml": "^5.4 || ^6.0" + }, + "suggest": { + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters." + }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", + "autoload": { + "psr-4": { + "PhpCsFixer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Dariusz RumiƄski", + "email": "dariusz.ruminski@gmail.com" + } + ], + "description": "A tool to automatically fix PHP code style", + "support": { + "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.11.0" + }, + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } + ], + "time": "2022-09-01T18:24:51+00:00" + }, + { + "name": "jane-php/json-schema", + "version": "v7.3.1", + "source": { + "type": "git", + "url": "https://github.com/janephp/json-schema.git", + "reference": "25d4c2c4f62717cb3ec5d246864b4843648406d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/janephp/json-schema/zipball/25d4c2c4f62717cb3ec5d246864b4843648406d6", + "reference": "25d4c2c4f62717cb3ec5d246864b4843648406d6", + "shasum": "" + }, + "require": { + "doctrine/inflector": "^1.4 || ^2.0", + "ext-json": "*", + "jane-php/json-schema-runtime": "^7.0", + "nikic/php-parser": "^4.0", + "php": "^7.2 || ^8.0", + "symfony/console": "^4.4 || ^5.0 || ^6.0", + "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", + "symfony/options-resolver": "^4.4 || ^5.0 || ^6.0", + "symfony/serializer": "^4.4 || ^5.0 || ^6.0", + "symfony/validator": "^5.0 || ^6.0", + "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0", + "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" + }, + "conflict": { + "nikic/php-parser": "<4.0.4", + "symfony/framework-bundle": "5.1.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.0", + "symfony/finder": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "friendsofphp/php-cs-fixer": "Allow to automatically fix cs on generated code for better visualisation" + }, + "bin": [ + "bin/jane" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-next": "7-dev" + } + }, + "autoload": { + "psr-4": { + "Jane\\Component\\JsonSchema\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "jwurtz@jolicode.com" + }, + { + "name": "Baptiste Leduc", + "email": "baptiste.leduc@gmail.com" + } + ], + "description": "Generate a serializable / deserializable object model given a json schema", + "support": { + "source": "https://github.com/janephp/json-schema/tree/v7.3.1" + }, + "time": "2022-08-22T10:52:58+00:00" + }, + { + "name": "jane-php/open-api-3", + "version": "v7.3.1", + "source": { + "type": "git", + "url": "https://github.com/janephp/open-api-3.git", + "reference": "536e0108c4e460848ff28679cc66eabd66cbf8ff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/janephp/open-api-3/zipball/536e0108c4e460848ff28679cc66eabd66cbf8ff", + "reference": "536e0108c4e460848ff28679cc66eabd66cbf8ff", + "shasum": "" + }, + "require": { + "ext-json": "*", + "jane-php/json-schema": "^7.0", + "jane-php/open-api-common": "^7.0", + "nikic/php-parser": "^4.0", + "php": "^7.2 || ^8.0", + "symfony/serializer": "^4.4 || ^5.0 || ^6.0", + "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" + }, + "conflict": { + "nikic/php-parser": "<4.0.4", + "symfony/framework-bundle": "5.1.0" + }, + "require-dev": { + "kriswallsmith/buzz": "^1.1", + "nyholm/psr7": "^1.3", + "phpunit/phpunit": "^8.0", + "symfony/finder": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "friendsofphp/php-cs-fixer": "To have a nice formatting of the generated files" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-next": "7-dev" + } + }, + "autoload": { + "psr-4": { + "Jane\\Component\\OpenApi3\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "jwurtz@jolicode.com" + }, + { + "name": "Baptiste Leduc", + "email": "baptiste.leduc@gmail.com" + } + ], + "description": "Generate a PHP Client API (PSR7/PSR18 compatible) given a OpenApi 3.x specification", + "keywords": [ + "jane", + "openapi", + "swagger" + ], + "support": { + "source": "https://github.com/janephp/open-api-3/tree/v7.3.1" + }, + "time": "2022-08-22T11:10:42+00:00" + }, + { + "name": "jane-php/open-api-common", + "version": "v7.3.1", + "source": { + "type": "git", + "url": "https://github.com/janephp/open-api-common.git", + "reference": "d14eb632a64241eda73075badd2f9871e43c15cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/janephp/open-api-common/zipball/d14eb632a64241eda73075badd2f9871e43c15cc", + "reference": "d14eb632a64241eda73075badd2f9871e43c15cc", + "shasum": "" + }, + "require": { + "ext-json": "*", + "jane-php/json-schema": "^7.0", + "jane-php/open-api-runtime": "^7.0", + "php": "^7.2 || ^8.0", + "symfony/console": "^4.4 || ^5.0 || ^6.0", + "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", + "symfony/string": "^5.0 || ^6.0", + "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "jane-php/open-api-2": "Allow to generate OpenApi v2 clients", + "jane-php/open-api-3": "Allow to generate OpenApi v3 clients" + }, + "bin": [ + "bin/jane-openapi" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-next": "7-dev" + } + }, + "autoload": { + "psr-4": { + "Jane\\Component\\OpenApiCommon\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "jwurtz@jolicode.com" + }, + { + "name": "Baptiste Leduc", + "email": "baptiste.leduc@gmail.com" + } + ], + "description": "Utility for OpenApi 2/3 generators", + "keywords": [ + "jane", + "openapi", + "swagger", + "utility" + ], + "support": { + "source": "https://github.com/janephp/open-api-common/tree/v7.3.1" + }, + "time": "2022-07-15T14:14:20+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.15.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.1" + }, + "time": "2022-09-04T07:30:47+00:00" + }, + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/log", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "symfony/console", + "version": "v6.1.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "17524a64ebcfab68d237bbed247e9a9917747096" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/17524a64ebcfab68d237bbed247e9a9917747096", + "reference": "17524a64ebcfab68d237bbed247e9a9917747096", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.1.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-09-03T14:24:42+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v6.1.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a0449a7ad7daa0f7c0acd508259f80544ab5a347", + "reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/event-dispatcher-contracts": "^2|^3" + }, + "conflict": { + "symfony/dependency-injection": "<5.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^5.4|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v6.1.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-05T16:51:07+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.1.1", + "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "02ff5eea2f453731cfbc6bc215e456b781480448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448", + "reference": "02ff5eea2f453731cfbc6bc215e456b781480448", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=8.1", + "psr/event-dispatcher": "^1" + }, + "suggest": { + "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-main": "3.1-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Symfony\\Contracts\\EventDispatcher\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -1909,74 +2822,66 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.1" }, - "time": "2021-11-05T16:47:00+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-02-25T11:15:52+00:00" }, { - "name": "symfony/console", - "version": "v6.0.5", + "name": "symfony/filesystem", + "version": "v6.1.5", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "3bebf4108b9e07492a2a4057d207aa5a77d146b1" + "url": "https://github.com/symfony/filesystem.git", + "reference": "4d216a2beef096edf040a070117c39ca2abce307" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3bebf4108b9e07492a2a4057d207aa5a77d146b1", - "reference": "3bebf4108b9e07492a2a4057d207aa5a77d146b1", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/4d216a2beef096edf040a070117c39ca2abce307", + "reference": "4d216a2beef096edf040a070117c39ca2abce307", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.4|^6.0" - }, - "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0|3.0" - }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Console\\": "" + "Symfony\\Component\\Filesystem\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -1996,16 +2901,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Eases the creation of beautiful and testable command line interfaces", + "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command line", - "console", - "terminal" - ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.5" + "source": "https://github.com/symfony/filesystem/tree/v6.1.5" }, "funding": [ { @@ -2021,31 +2920,32 @@ "type": "tidelift" } ], - "time": "2022-02-25T10:48:52+00:00" + "time": "2022-09-21T20:29:40+00:00" }, { - "name": "symfony/filesystem", - "version": "v6.0.5", + "name": "symfony/finder", + "version": "v6.1.3", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "6646c13f787057d64701a3a0235cf9567c6ccbbd" + "url": "https://github.com/symfony/finder.git", + "reference": "39696bff2c2970b3779a5cac7bf9f0b88fc2b709" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/6646c13f787057d64701a3a0235cf9567c6ccbbd", - "reference": "6646c13f787057d64701a3a0235cf9567c6ccbbd", + "url": "https://api.github.com/repos/symfony/finder/zipball/39696bff2c2970b3779a5cac7bf9f0b88fc2b709", + "reference": "39696bff2c2970b3779a5cac7bf9f0b88fc2b709", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Filesystem\\": "" + "Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -2065,10 +2965,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides basic utilities for the filesystem", + "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.0.5" + "source": "https://github.com/symfony/finder/tree/v6.1.3" }, "funding": [ { @@ -2084,20 +2984,20 @@ "type": "tidelift" } ], - "time": "2022-02-28T07:42:30+00:00" + "time": "2022-07-29T07:42:06+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "433d05519ce6990bf3530fba6957499d327395c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", + "reference": "433d05519ce6990bf3530fba6957499d327395c2", "shasum": "" }, "require": { @@ -2109,7 +3009,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2149,7 +3049,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" }, "funding": [ { @@ -2165,20 +3065,20 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "219aa369ceff116e673852dce47c3a41794c14bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd", "shasum": "" }, "require": { @@ -2190,7 +3090,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2233,7 +3133,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" }, "funding": [ { @@ -2249,20 +3149,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", "shasum": "" }, "require": { @@ -2277,7 +3177,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2316,7 +3216,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" }, "funding": [ { @@ -2332,20 +3232,20 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", "shasum": "" }, "require": { @@ -2354,7 +3254,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2395,7 +3295,68 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/process", + "version": "v6.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "a6506e99cfad7059b1ab5cab395854a0a0c21292" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/a6506e99cfad7059b1ab5cab395854a0a0c21292", + "reference": "a6506e99cfad7059b1ab5cab395854a0a0c21292", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.1.3" }, "funding": [ { @@ -2411,24 +3372,24 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2022-06-27T17:24:16+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.0.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "36715ebf9fb9db73db0cb24263c79077c6fe8603" + "reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/36715ebf9fb9db73db0cb24263c79077c6fe8603", - "reference": "36715ebf9fb9db73db0cb24263c79077c6fe8603", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/925e713fe8fcacf6bc05e936edd8dd5441a21239", + "reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/container": "^2.0" }, "conflict": { @@ -2440,7 +3401,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -2450,7 +3411,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2477,7 +3441,69 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-30T19:18:58+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "v6.1.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/266636bb8f3fbdccc302491df7b3a1b9a8c238a7", + "reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/service-contracts": "^1|^2|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a way to profile code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/stopwatch/tree/v6.1.5" }, "funding": [ { @@ -2493,24 +3519,24 @@ "type": "tidelift" } ], - "time": "2021-11-04T17:53:12+00:00" + "time": "2022-09-28T16:00:52+00:00" }, { "name": "symfony/string", - "version": "v6.0.3", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2" + "reference": "17c08b068176996a1d7db8d00ffae3c248267016" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/522144f0c4c004c80d56fa47e40e17028e2eefc2", - "reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2", + "url": "https://api.github.com/repos/symfony/string/zipball/17c08b068176996a1d7db8d00ffae3c248267016", + "reference": "17c08b068176996a1d7db8d00ffae3c248267016", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", @@ -2562,7 +3588,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.3" + "source": "https://github.com/symfony/string/tree/v6.1.5" }, "funding": [ { @@ -2578,24 +3604,24 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-09-02T08:05:20+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.5.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e" + "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671fc2620a98aae1b1e", - "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/606be0f48e05116baef052f7f3abdb345c8e02cc", + "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=8.1" }, "suggest": { "symfony/translation-implementation": "" @@ -2603,7 +3629,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -2613,7 +3639,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Translation\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2640,7 +3669,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.1.1" }, "funding": [ { @@ -2656,27 +3685,27 @@ "type": "tidelift" } ], - "time": "2021-08-17T14:20:01+00:00" + "time": "2022-06-27T17:24:16+00:00" }, { "name": "symfony/validator", - "version": "v6.0.5", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "11520c1ee42b6e7050afe7a08da6612efcae6e34" + "reference": "7d7724f550e0f657a591831a7c31e25678ff8779" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/11520c1ee42b6e7050afe7a08da6612efcae6e34", - "reference": "11520c1ee42b6e7050afe7a08da6612efcae6e34", + "url": "https://api.github.com/repos/symfony/validator/zipball/7d7724f550e0f657a591831a7c31e25678ff8779", + "reference": "7d7724f550e0f657a591831a7c31e25678ff8779", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php81": "^1.22", "symfony/translation-contracts": "^1.1|^2|^3" }, "conflict": { @@ -2748,7 +3777,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v6.0.5" + "source": "https://github.com/symfony/validator/tree/v6.1.5" }, "funding": [ { @@ -2764,24 +3793,24 @@ "type": "tidelift" } ], - "time": "2022-02-25T10:48:52+00:00" + "time": "2022-09-17T07:55:45+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.0.5", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "60d6a756d5f485df5e6e40b337334848f79f61ce" + "reference": "d0833493fb2413a86f522fb54a1896a7718e98ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/60d6a756d5f485df5e6e40b337334848f79f61ce", - "reference": "60d6a756d5f485df5e6e40b337334848f79f61ce", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d0833493fb2413a86f522fb54a1896a7718e98ec", + "reference": "d0833493fb2413a86f522fb54a1896a7718e98ec", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -2836,7 +3865,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.0.5" + "source": "https://github.com/symfony/var-dumper/tree/v6.1.5" }, "funding": [ { @@ -2852,7 +3881,7 @@ "type": "tidelift" } ], - "time": "2022-02-21T17:15:17+00:00" + "time": "2022-09-08T09:34:40+00:00" } ], "aliases": [], @@ -2864,5 +3893,5 @@ "php": "^8.0" }, "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/jane/gyroscops.json b/jane/gyroscops.json index 95f94e1f..acceced6 100644 --- a/jane/gyroscops.json +++ b/jane/gyroscops.json @@ -1 +1 @@ -{"openapi":"3.0.3","info":{"title":"Gyroscops API","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/authentication\/forgot-password\/":{"ref":"ForgotPassword","post":{"operationId":"postForgotPassword","tags":["Forgot password"],"responses":{"204":{"description":"Valid email address, no matter if user exists or not"},"400":{"description":"Missing email parameter or invalid format"}},"summary":"Provides a token through email in order to reset a user's password","description":"","parameters":[],"requestBody":{"description":"Request a new password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:request"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/forgot-password\/{token}":{"ref":"ForgotPassword","get":{"operationId":"getForgotPassword","tags":["Forgot password"],"responses":{"200":{"description":"Authenticated user","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:validate"}}}},"404":{"description":"Token not found or expired"}},"summary":"Validates the token sent by email to reset the user's password","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"deprecated":false},"post":{"operationId":"postForgotPasswordToken","tags":["Forgot password"],"responses":{"204":{"description":"Email address format valid, no matter if user exists or not"},"400":{"description":"Missing password parameter"},"404":{"description":"Token not found"}},"summary":"Resets user password from token sent by email","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Reset password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:reset"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/me":{"get":{"operationId":"meUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Get the current user","description":"Get the current user","parameters":[],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}":{"get":{"operationId":"getOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Organization resource.","description":"Replaces the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteOrganizationItem","tags":["Organization"],"responses":{"204":{"description":"Organization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Organization resource.","description":"Removes the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Organization resource.","description":"Updates the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/authorizations":{"get":{"operationId":"api_organizations_authorizations_get_subresourceOrganizationSubresource","tags":["UserAuthorization","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/external-collaborators":{"get":{"operationId":"api_organizations_external_collaborators_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/users":{"get":{"operationId":"api_organizations_users_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/workspaces":{"get":{"operationId":"api_organizations_workspaces_get_subresourceOrganizationSubresource","tags":["Workspace","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organizations":{"get":{"operationId":"getOrganizationCollection","tags":["Organization"],"responses":{"200":{"description":"Organization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}}}}},"summary":"Retrieves the collection of Organization resources.","description":"Retrieves the collection of Organization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOrganizationCollection","tags":["Organization"],"responses":{"201":{"description":"Organization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Organization resource.","description":"Creates a Organization resource.","parameters":[],"requestBody":{"description":"The new Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/token":{"ref":"JWT Token","put":{"tags":["Token"],"responses":{"200":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token:update"}}}}},"summary":"Update scope of token","description":"","parameters":[],"requestBody":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials:update"}}},"required":false},"deprecated":false},"post":{"operationId":"postCredentialsItem","tags":["Token"],"responses":{"200":{"description":"Get JWT token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token"}}}}},"summary":"Get JWT token to login.","description":"","parameters":[],"requestBody":{"description":"Generate new JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/user-authorization\/{id}":{"get":{"operationId":"getUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserAuthorization resource.","description":"Retrieves a UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the UserAuthorization resource.","description":"Replaces the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"204":{"description":"UserAuthorization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserAuthorization resource.","description":"Removes the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the UserAuthorization resource.","description":"Updates the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user-authorizations":{"get":{"operationId":"getUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves the collection of UserAuthorization resources.","description":"Retrieves the collection of UserAuthorization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"201":{"description":"UserAuthorization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserAuthorization resource.","description":"Creates a UserAuthorization resource.","parameters":[],"requestBody":{"description":"The new UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}":{"get":{"operationId":"getUserItem","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the User resource.","description":"Replaces the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserItem","tags":["User"],"responses":{"204":{"description":"User resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the User resource.","description":"Removes the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/authorizations":{"get":{"operationId":"api_users_authorizations_get_subresourceUserSubresource","tags":["UserAuthorization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/change-password":{"patch":{"operationId":"change_passwordUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User.UserChangePasswordInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users":{"get":{"operationId":"getUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserCollection","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}":{"get":{"operationId":"getWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Workspace resource.","description":"Replaces the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteWorkspaceItem","tags":["Workspace"],"responses":{"204":{"description":"Workspace resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Workspace resource.","description":"Removes the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Workspace resource.","description":"Updates the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/authorizations":{"get":{"operationId":"api_workspaces_authorizations_get_subresourceWorkspaceSubresource","tags":["UserAuthorization","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/users":{"get":{"operationId":"api_workspaces_users_get_subresourceWorkspaceSubresource","tags":["User","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspaces":{"get":{"operationId":"getWorkspaceCollection","tags":["Workspace"],"responses":{"200":{"description":"Workspace collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves the collection of Workspace resources.","description":"Retrieves the collection of Workspace resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postWorkspaceCollection","tags":["Workspace"],"responses":{"201":{"description":"Workspace resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Workspace resource.","description":"Creates a Workspace resource.","parameters":[],"requestBody":{"description":"The new Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment":{"post":{"operationId":"postEnvironmentCollection","tags":["Environment"],"responses":{"201":{"description":"Environment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"links":{"GetEnvironmentItem":{"operationId":"getEnvironmentItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/environment\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Environment resource.","description":"Creates a Environment resource.","parameters":[],"requestBody":{"description":"The new Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment\/{id}":{"get":{"operationId":"getEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Environment resource.","description":"Retrieves a Environment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/environments":{"get":{"operationId":"getEnvironmentCollection","tags":["Environment"],"responses":{"200":{"description":"Environment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}}}}},"summary":"Retrieves the collection of Environment resources.","description":"Retrieves the collection of Environment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret":{"post":{"operationId":"postSecretCollection","tags":["Secret"],"responses":{"201":{"description":"Secret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Secret resource.","description":"Creates a Secret resource.","parameters":[],"requestBody":{"description":"The new Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}":{"get":{"operationId":"getSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Secret resource.","description":"Retrieves a Secret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}\/put\/":{"put":{"operationId":"add_valueSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a new Secret value to the Secret storage","description":"Adds a new Secret value to the Secret storage","parameters":[{"name":"id","in":"path","description":"Secret resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","patternProperties":{"^[a-z_][a-z0-9_]+$":{"type":"string"}}},"example":{"url":"https:\/\/api.example.com","access_token":"AAAAAA....AAAAAAA"}}},"required":false},"deprecated":false},"parameters":[]},"\/environment\/secrets":{"get":{"operationId":"getSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}}}},"summary":"Retrieves the collection of Secret resources.","description":"Retrieves the collection of Secret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map":{"post":{"operationId":"postVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"201":{"description":"VariableFromConfigMap resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"links":{"GetVariableFromConfigMapItem":{"operationId":"getVariableFromConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromConfigMap resource.","description":"Creates a VariableFromConfigMap resource.","parameters":[],"requestBody":{"description":"The new VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map\/{id}":{"get":{"operationId":"getVariableFromConfigMapItem","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromConfigMap resource.","description":"Retrieves a VariableFromConfigMap resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-maps":{"get":{"operationId":"getVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}}}},"summary":"Retrieves the collection of VariableFromConfigMap resources.","description":"Retrieves the collection of VariableFromConfigMap resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret":{"post":{"operationId":"postVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"201":{"description":"VariableFromSecret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"links":{"GetVariableFromSecretItem":{"operationId":"getVariableFromSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromSecret resource.","description":"Creates a VariableFromSecret resource.","parameters":[],"requestBody":{"description":"The new VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret\/{id}":{"get":{"operationId":"getVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromSecret resource.","description":"Retrieves a VariableFromSecret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secrets":{"get":{"operationId":"getVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}}}},"summary":"Retrieves the collection of VariableFromSecret resources.","description":"Retrieves the collection of VariableFromSecret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/code\/{id}":{"get":{"operationId":"getReferralCodeItem","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralCode resource.","description":"Retrieves a ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteReferralCodeItem","tags":["ReferralCode"],"responses":{"204":{"description":"ReferralCode resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ReferralCode resource.","description":"Removes the ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/codes":{"get":{"operationId":"getReferralCodeCollection","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}}}},"summary":"Retrieves the collection of ReferralCode resources.","description":"Retrieves the collection of ReferralCode resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postReferralCodeCollection","tags":["ReferralCode"],"responses":{"201":{"description":"ReferralCode resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"links":{"GetReferralCodeItem":{"operationId":"getReferralCodeItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/code\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralCode resource.","description":"Creates a ReferralCode resource.","parameters":[],"requestBody":{"description":"The new ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/on-premise-request\/{id}":{"get":{"operationId":"getOnPremiseRequestItem","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OnPremiseRequest resource.","description":"Retrieves a OnPremiseRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/on-premise-requests":{"get":{"operationId":"getOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}}}},"summary":"Retrieves the collection of OnPremiseRequest resources.","description":"Retrieves the collection of OnPremiseRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"201":{"description":"OnPremiseRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"links":{"GetOnPremiseRequestItem":{"operationId":"getOnPremiseRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/on-premise-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a OnPremiseRequest resource.","description":"Creates a OnPremiseRequest resource.","parameters":[],"requestBody":{"description":"The new OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}":{"get":{"operationId":"getReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralRequest resource.","description":"Retrieves a ReferralRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/accept":{"patch":{"operationId":"accept_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Accepts a referral request","description":"Accepts a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/reject":{"patch":{"operationId":"reject_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Rejects a referral request","description":"Rejects a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-requests":{"post":{"operationId":"postReferralRequestCollection","tags":["ReferralRequest"],"responses":{"201":{"description":"ReferralRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralRequest resource.","description":"Creates a ReferralRequest resource.","parameters":[],"requestBody":{"description":"The new ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/requests":{"get":{"operationId":"getReferralRequestCollection","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}}}},"summary":"Retrieves the collection of ReferralRequest resources.","description":"Retrieves the collection of ReferralRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}":{"get":{"operationId":"getActionItem","tags":["Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/organization":{"get":{"operationId":"api_actions_organization_get_subresourceActionSubresource","tags":["Organization","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/owner":{"get":{"operationId":"api_actions_owner_get_subresourceActionSubresource","tags":["User","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/workspace":{"get":{"operationId":"api_actions_workspace_get_subresourceActionSubresource","tags":["Workspace","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/actions":{"get":{"operationId":"getActionCollection","tags":["Action"],"responses":{"200":{"description":"Action collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}}}}},"summary":"Retrieves the collection of Action resources.","description":"Retrieves the collection of Action resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}":{"get":{"operationId":"getExecutionPipelineJobItem","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}\/steps":{"get":{"operationId":"api_execution_pipeline_jobs_steps_get_subresourceExecutionPipelineJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-jobs":{"get":{"operationId":"getExecutionPipelineJobCollection","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}}},"summary":"Retrieves the collection of ExecutionPipelineJob resources.","description":"Retrieves the collection of ExecutionPipelineJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/action\/{id}":{"get":{"operationId":"getExecutionActionItem","tags":["ExecutionAction"],"responses":{"200":{"description":"ExecutionAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionAction resource.","description":"Retrieves a ExecutionAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipeline\/{id}\/steps":{"get":{"operationId":"api_execution_pipelines_steps_get_subresourceExecutionPipelineSubresource","tags":["ExecutionPipelineStep","ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipelines":{"get":{"operationId":"getExecutionPipelineCollection","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}}},"summary":"Retrieves the collection of ExecutionPipeline resources.","description":"Retrieves the collection of ExecutionPipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/action":{"get":{"operationId":"api_execution_workflows_jobs_action_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/pipeline":{"get":{"operationId":"api_execution_workflows_jobs_pipeline_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/jobs":{"get":{"operationId":"api_execution_workflows_jobs_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflows":{"get":{"operationId":"getExecutionWorkflowCollection","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflow resources.","description":"Retrieves the collection of ExecutionWorkflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/step\/{id}":{"get":{"operationId":"getExecutionPipelineStepItem","tags":["ExecutionPipelineStep"],"responses":{"200":{"description":"ExecutionPipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineStep resource.","description":"Retrieves a ExecutionPipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/{id}":{"get":{"operationId":"getExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/action\/{id}":{"get":{"operationId":"getExecutionWorkflowJobActionItem","tags":["ExecutionWorkflowJobAction"],"responses":{"200":{"description":"ExecutionWorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJobAction resource.","description":"Retrieves a ExecutionWorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/action":{"get":{"operationId":"api_execution_workflow_jobs_action_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline\/steps":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_steps_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"pipeline","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-jobs":{"get":{"operationId":"getExecutionWorkflowJobCollection","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflowJob resources.","description":"Retrieves the collection of ExecutionWorkflowJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/job\/{id}":{"get":{"operationId":"getExecutionWorkflowJobItem","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/{id}":{"get":{"operationId":"getExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}":{"get":{"operationId":"getExecutionItem","tags":["Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/action":{"get":{"operationId":"api_executions_action_get_subresourceExecutionSubresource","tags":["ExecutionAction","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/organization":{"get":{"operationId":"api_executions_organization_get_subresourceExecutionSubresource","tags":["Organization","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/owner":{"get":{"operationId":"api_executions_owner_get_subresourceExecutionSubresource","tags":["User","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/pipeline":{"get":{"operationId":"api_executions_pipeline_get_subresourceExecutionSubresource","tags":["ExecutionPipeline","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow":{"get":{"operationId":"api_executions_workflow_get_subresourceExecutionSubresource","tags":["ExecutionWorkflow","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow\/jobs":{"get":{"operationId":"api_executions_workflow_jobs_get_subresourceExecutionSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workspace":{"get":{"operationId":"api_executions_workspace_get_subresourceExecutionSubresource","tags":["Workspace","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions":{"get":{"operationId":"getExecutionCollection","tags":["Execution"],"responses":{"200":{"description":"Execution collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves the collection of Execution resources.","description":"Retrieves the collection of Execution resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions\/declare":{"post":{"operationId":"declare_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a pipeline execution","description":"Declares a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/finish":{"post":{"operationId":"finish_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Finishes a pipeline execution","description":"Finishes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/interrupt":{"post":{"operationId":"interrupt_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Interrupts a pipeline execution","description":"Interrupts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/resume":{"post":{"operationId":"resume_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Resumes a pipeline execution","description":"Resumes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/start":{"post":{"operationId":"start_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Starts a pipeline execution","description":"Starts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/terminate":{"post":{"operationId":"terminate_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Terminates a pipeline execution","description":"Terminates a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/update-state":{"post":{"operationId":"update_execution_stateExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Updates a pipeline execution state","description":"Updates a pipeline execution state","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/organization":{"get":{"operationId":"api_pipeline_compilations_organization_get_subresourcePipelineCompilationSubresource","tags":["Organization","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/user":{"get":{"operationId":"api_pipeline_compilations_user_get_subresourcePipelineCompilationSubresource","tags":["User","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/workspace":{"get":{"operationId":"api_pipeline_compilations_workspace_get_subresourcePipelineCompilationSubresource","tags":["Workspace","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-step-probes":{"get":{"operationId":"getPipelineStepProbeCollection","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves the collection of PipelineStepProbe resources.","description":"Retrieves the collection of PipelineStepProbe resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/probe\/{id}":{"get":{"operationId":"getPipelineStepProbeItem","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStepProbe resource.","description":"Retrieves a PipelineStepProbe resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}":{"get":{"operationId":"getPipelineStepItem","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}\/probes":{"get":{"operationId":"api_pipeline_steps_probes_get_subresourcePipelineStepSubresource","tags":["PipelineStepProbe","PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"PipelineStep identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/steps":{"get":{"operationId":"getPipelineStepCollection","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}}}}},"summary":"Retrieves the collection of PipelineStep resources.","description":"Retrieves the collection of PipelineStep resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}":{"get":{"operationId":"getPipelineItem","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"delete_pipelinePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Deletes a pipeline","description":"Deletes a pipeline","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/compilations":{"get":{"operationId":"api_pipelines_compilations_get_subresourcePipelineSubresource","tags":["PipelineCompilation","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/organization":{"get":{"operationId":"api_pipelines_organization_get_subresourcePipelineSubresource","tags":["Organization","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/owner":{"get":{"operationId":"api_pipelines_owner_get_subresourcePipelineSubresource","tags":["User","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}":{"delete":{"operationId":"delete_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a step from a pipeline","description":"Removes a step from a pipeline","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}\/probes\/{probeCode}\/{probeLabel}":{"delete":{"operationId":"remove_pipeline_step_probePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a probe from a step","description":"Removes a probe from a step","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_code","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_label","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/workspace":{"get":{"operationId":"api_pipelines_workspace_get_subresourcePipelineSubresource","tags":["Workspace","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines":{"get":{"operationId":"getPipelineCollection","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}}},"summary":"Retrieves the collection of Pipeline resources.","description":"Retrieves the collection of Pipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"code","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"code[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"declare_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a docker pipeline","description":"Declares a docker pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/add-composer":{"post":{"operationId":"add_composer_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds PSR4 autoload composer to a pipeline","description":"Adds PSR4 autoload composer to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compilation":{"get":{"operationId":"getPipelineCompilationCollection","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves the collection of PipelineCompilation resources.","description":"Retrieves the collection of PipelineCompilation resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compile":{"post":{"operationId":"pipeline_compilationPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a pipeline compilation","description":"Creates a pipeline compilation","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-after":{"post":{"operationId":"add_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step after another one in a pipeline","description":"Adds a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-before":{"post":{"operationId":"add_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step before another one in a pipeline","description":"Adds a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/append":{"post":{"operationId":"append_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Appends a step to a pipeline","description":"Appends a step to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-after":{"post":{"operationId":"move_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step after another one in a pipeline","description":"Moves a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-before":{"post":{"operationId":"move_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step before another one in a pipeline","description":"Moves a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/probes":{"post":{"operationId":"add_pipeline_step_probePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a probe to a step","description":"Adds a probe to a step","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/reorder":{"post":{"operationId":"reorder_pipeline_stepsPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Reorganizes the steps of a pipeline according to a given order","description":"Reorganizes the steps of a pipeline according to a given order","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/replace":{"post":{"operationId":"replace_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Replaces a step by another one in a pipeline","description":"Replaces a step by another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-immediate":{"post":{"operationId":"schedule_immediateScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a pipeline execution immediately","description":"Schedule a pipeline execution immediately","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-once":{"post":{"operationId":"schedule_onceScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule an immediate pipeline execution","description":"Schedule an immediate pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-times":{"post":{"operationId":"schedule_timesScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a recurring pipeline execution","description":"Schedule a recurring pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-until":{"post":{"operationId":"schedule_untilScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a delayed pipeline execution","description":"Schedule a delayed pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}":{"get":{"operationId":"getScheduleItem","tags":["Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/executions":{"get":{"operationId":"api_schedules_executions_get_subresourceScheduleSubresource","tags":["Execution","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/organization":{"get":{"operationId":"api_schedules_organization_get_subresourceScheduleSubresource","tags":["Organization","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/owner":{"get":{"operationId":"api_schedules_owner_get_subresourceScheduleSubresource","tags":["User","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/pipeline":{"get":{"operationId":"api_schedules_pipeline_get_subresourceScheduleSubresource","tags":["Pipeline","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow":{"get":{"operationId":"api_schedules_workflow_get_subresourceScheduleSubresource","tags":["Workflow","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/jobs":{"get":{"operationId":"api_schedules_workflow_jobs_get_subresourceScheduleSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/organization":{"get":{"operationId":"api_schedules_workflow_organization_get_subresourceScheduleSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/owner":{"get":{"operationId":"api_schedules_workflow_owner_get_subresourceScheduleSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/workspace":{"get":{"operationId":"api_schedules_workflow_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workspace":{"get":{"operationId":"api_schedules_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedules":{"get":{"operationId":"getScheduleCollection","tags":["Schedule"],"responses":{"200":{"description":"Schedule collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}}}}},"summary":"Retrieves the collection of Schedule resources.","description":"Retrieves the collection of Schedule resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/action\/{id}":{"get":{"operationId":"getWorkflowJobActionItem","tags":["WorkflowJobAction"],"responses":{"200":{"description":"WorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobAction resource.","description":"Retrieves a WorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/job\/{id}":{"get":{"operationId":"getWorkflowJobItem","tags":["WorkflowJob"],"responses":{"200":{"description":"WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJob resource.","description":"Retrieves a WorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/pipeline\/{id}":{"get":{"operationId":"getWorkflowJobPipelineItem","tags":["WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobPipeline resource.","description":"Retrieves a WorkflowJobPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}":{"get":{"operationId":"getWorkflowItem","tags":["Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/jobs":{"get":{"operationId":"api_workflows_jobs_get_subresourceWorkflowSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/organization":{"get":{"operationId":"api_workflows_organization_get_subresourceWorkflowSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/owner":{"get":{"operationId":"api_workflows_owner_get_subresourceWorkflowSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/workspace":{"get":{"operationId":"api_workflows_workspace_get_subresourceWorkflowSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflows":{"get":{"operationId":"getWorkflowCollection","tags":["Workflow"],"responses":{"200":{"description":"Workflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}}},"summary":"Retrieves the collection of Workflow resources.","description":"Retrieves the collection of Workflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtimepipeline\/compilation\/{id}":{"get":{"operationId":"getPipelineCompilationItem","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]}},"components":{"schemas":{"AbstractPipeline":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Action-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"Action.jsonld-read":{"type":"object","required":["id"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"}}},"AutoloadInput":{"type":"object","properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"AutoloadInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"ConfigMapValueInput":{"type":"object","properties":{"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"ConfigMapValueInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"Environment":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable"}}}},"Environment.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable.jsonld"}}}},"Execution-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction-read"}]}}},"Execution.DeclarePipelineExecutionCommand-read":{"type":"object"},"Execution.DeclarePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput":{"type":"object","properties":{"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommand-read":{"type":"object"},"Execution.FinishPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommand-read":{"type":"object"},"Execution.InterruptPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommand-read":{"type":"object"},"Execution.ResumePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommand-read":{"type":"object"},"Execution.StartPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.StartPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.TerminatePipelineExecutionCommand-read":{"type":"object"},"Execution.TerminatePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommand-read":{"type":"object"},"Execution.UpdatePipelineExecutionStateCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList"}}},"Execution.UpdatePipelineExecutionStateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList.jsonld"}}},"Execution.jsonld-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld-read"}]}}},"ExecutionAction":{"type":"object","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld":{"type":"object","required":["execution","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"ExecutionPipeline":{"type":"object","required":["execution"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipeline.jsonld":{"type":"object","required":["execution"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob":{"type":"object","required":["job"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob.jsonld":{"type":"object","required":["job"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionPipelineStep.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionWorkflow":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflow.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflowJob":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJob.jsonld":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionWorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"OnPremiseRequest-on-premise-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"OnPremiseRequest.jsonld-on-premise-request.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest.jsonld-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"Organization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Organization.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Pipeline-read":{"type":"object","properties":{"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"Pipeline.AddAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.AddAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.AddBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineStepProbCommandInput":{"type":"object","properties":{"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe"}}},"Pipeline.AddPipelineStepProbCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}},"Pipeline.AddPipelineStepProbeCommand-read":{"type":"object"},"Pipeline.AddPipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommand-read":{"type":"object"},"Pipeline.AppendPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AppendPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.CompilePipelineCommand-read":{"type":"object"},"Pipeline.CompilePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.CompilePipelineCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.CompilePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.DeclarePipelineCommand-read":{"type":"object"},"Pipeline.DeclarePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.DeclarePipelineCommandInput":{"type":"object","properties":{"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput"}}}},"Pipeline.DeclarePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput.jsonld"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput.jsonld"}}}},"Pipeline.MoveAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.MoveAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.MoveBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.RemovePipelineStepProbeCommand-read":{"type":"object"},"Pipeline.RemovePipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommand-read":{"type":"object"},"Pipeline.ReorderPipelineStepsCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReorderPipelineStepsCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReplacePipelineStepCommand-read":{"type":"object"},"Pipeline.ReplacePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReplacePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.ReplacePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"PipelineCompilation":{"type":"object","required":["id","pipeline"],"properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineCompilation.jsonld":{"type":"object","required":["id","pipeline"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineId":{"type":"object"},"PipelineId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"PipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStep.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStepProbe":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"PipelineStepProbe.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"Probe":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"}}},"Probe.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"}}},"ReferralCode-referral-code.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode-referral-code.write":{"type":"object","properties":{"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralCode.jsonld-referral-code.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode.jsonld-referral-code.write":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralRequest-referral-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"ReferralRequest.ReferralRequestInput":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.ReferralRequestInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.jsonld-referral-request.read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"Schedule":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"Schedule.DeclarePipelineScheduleImmediateCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleImmediateCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleOnceCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleOnceCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleTimesCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleTimesCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleUntilCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleUntilCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.jsonld":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"ScheduleId":{"type":"object"},"ScheduleId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Secret":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.ConfigMapInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput"}}},"Secret.ConfigMapInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput.jsonld"}}},"Secret.SecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"secrets":{"$ref":"#\/components\/schemas\/SecretValueInput"}}},"Secret.SecretInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"secrets":{"$ref":"#\/components\/schemas\/SecretValueInput.jsonld"}}},"Secret.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"SecretValueInput":{"type":"object","properties":{"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"SecretValueInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"StepInput":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"StepInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Traversable":{"type":"object"},"Traversable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"UpdateList":{"type":"object","properties":{"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"UpdateList.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"User":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"string"}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"User.UserChangePasswordInput":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"},"confirmPassword":{"type":"string"}}},"User.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"string"}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"UserAuthorization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserAuthorization.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserId":{"type":"object"},"UserId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Variable":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"Variable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"VariableFromConfigMap":{"type":"object","properties":{"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConfigMap.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret":{"type":"object","properties":{"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"Workflow-read":{"type":"object","required":["id","code","label"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"Workflow.jsonld-read":{"type":"object","required":["id","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}}}},"WorkflowJob-read":{"type":"object","required":["workflow"],"properties":{"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction-read"}]}}},"WorkflowJob.jsonld-read":{"type":"object","required":["workflow"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-read"}]}}},"WorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"WorkflowJobPipeline":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Workspace":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","organization"]},"Workspace.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","organization"]},"ForgotPassword:reset":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}},"ForgotPassword:validate":{"type":"object"},"ForgotPassword:request":{"type":"object","required":["email"],"properties":{"email":{"type":"string"}}},"Token":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials":{"type":"object","properties":{"username":{"type":"string","example":"johndoe"},"password":{"type":"string","example":"password"},"workspace":{"type":"string","example":"password"}}},"Token:update":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials:update":{"type":"object","properties":{"workspace":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"apiKey":[]}],"tags":[]} \ No newline at end of file +{"openapi":"3.0.3","info":{"title":"Gyroscops API","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/authentication\/forgot-password\/":{"ref":"ForgotPassword","post":{"operationId":"postForgotPassword","tags":["Forgot password"],"responses":{"204":{"description":"Valid email address, no matter if user exists or not"},"400":{"description":"Missing email parameter or invalid format"}},"summary":"Provides a token through email in order to reset a user's password","description":"","parameters":[],"requestBody":{"description":"Request a new password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:request"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/forgot-password\/{token}":{"ref":"ForgotPassword","get":{"operationId":"getForgotPassword","tags":["Forgot password"],"responses":{"200":{"description":"Authenticated user","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:validate"}}}},"404":{"description":"Token not found or expired"}},"summary":"Validates the token sent by email to reset the user's password","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"deprecated":false},"post":{"operationId":"postForgotPasswordToken","tags":["Forgot password"],"responses":{"204":{"description":"Email address format valid, no matter if user exists or not"},"400":{"description":"Missing password parameter"},"404":{"description":"Token not found"}},"summary":"Resets user password from token sent by email","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Reset password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:reset"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/me":{"get":{"operationId":"meUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Get the current user","description":"Get the current user","parameters":[],"deprecated":false},"parameters":[]},"\/authentication\/offer\/{id}":{"get":{"operationId":"getOfferItem","tags":["Offer"],"responses":{"200":{"description":"Offer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Offer resource.","description":"Retrieves a Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOfferItem","tags":["Offer"],"responses":{"200":{"description":"Offer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"links":{"GetOfferItem":{"operationId":"getOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/offer\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Offer resource.","description":"Replaces the Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Offer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteOfferItem","tags":["Offer"],"responses":{"204":{"description":"Offer resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Offer resource.","description":"Removes the Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOfferItem","tags":["Offer"],"responses":{"200":{"description":"Offer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"links":{"GetOfferItem":{"operationId":"getOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/offer\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Offer resource.","description":"Updates the Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Offer resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/offer\/{id}\/options":{"get":{"operationId":"api_offers_options_get_subresourceOfferSubresource","tags":["Option","Offer"],"responses":{"200":{"description":"Offer resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Option.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Option"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Option"}}}}}},"summary":"Retrieves a Offer resource.","description":"Retrieves a Offer resource.","parameters":[{"name":"id","in":"path","description":"Offer identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/offers":{"get":{"operationId":"getOfferCollection","tags":["Offer"],"responses":{"200":{"description":"Offer collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Offer"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Offer"}}}}}},"summary":"Retrieves the collection of Offer resources.","description":"Retrieves the collection of Offer resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}":{"get":{"operationId":"getOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Organization resource.","description":"Replaces the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteOrganizationItem","tags":["Organization"],"responses":{"204":{"description":"Organization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Organization resource.","description":"Removes the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Organization resource.","description":"Updates the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/authorizations":{"get":{"operationId":"api_organizations_authorizations_get_subresourceOrganizationSubresource","tags":["UserAuthorization","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/external-collaborators":{"get":{"operationId":"api_organizations_external_collaborators_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/users":{"get":{"operationId":"api_organizations_users_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/workspaces":{"get":{"operationId":"api_organizations_workspaces_get_subresourceOrganizationSubresource","tags":["Workspace","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organizations":{"get":{"operationId":"getOrganizationCollection","tags":["Organization"],"responses":{"200":{"description":"Organization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}}}}},"summary":"Retrieves the collection of Organization resources.","description":"Retrieves the collection of Organization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOrganizationCollection","tags":["Organization"],"responses":{"201":{"description":"Organization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Organization resource.","description":"Creates a Organization resource.","parameters":[],"requestBody":{"description":"The new Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/subscription\/{id}":{"get":{"operationId":"getSubscriptionItem","tags":["Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putSubscriptionItem","tags":["Subscription"],"responses":{"200":{"description":"Subscription resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"links":{"GetSubscriptionItem":{"operationId":"getSubscriptionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Subscription resource.","description":"Replaces the Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"required":true},"deprecated":false},"post":{"operationId":"postSubscriptionCollection","tags":["Subscription"],"responses":{"201":{"description":"Subscription resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"links":{"GetSubscriptionItem":{"operationId":"getSubscriptionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Subscription resource.","description":"Creates a Subscription resource.","parameters":[],"requestBody":{"description":"The new Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteSubscriptionItem","tags":["Subscription"],"responses":{"204":{"description":"Subscription resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Subscription resource.","description":"Removes the Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchSubscriptionItem","tags":["Subscription"],"responses":{"200":{"description":"Subscription resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"links":{"GetSubscriptionItem":{"operationId":"getSubscriptionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Subscription resource.","description":"Updates the Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Subscription resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/subscriptions":{"get":{"operationId":"getSubscriptionCollection","tags":["Subscription"],"responses":{"200":{"description":"Subscription collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Subscription"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Subscription"}}}}}},"summary":"Retrieves the collection of Subscription resources.","description":"Retrieves the collection of Subscription resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscriptions\/{id}\/offer":{"get":{"operationId":"api_subscriptions_offer_get_subresourceSubscriptionSubresource","tags":["Offer","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}}}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Subscription identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscriptions\/{id}\/options":{"get":{"operationId":"api_subscriptions_options_get_subresourceSubscriptionSubresource","tags":["SubscriptionOption","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOption.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOption"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOption"}}}}}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Subscription identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscriptions\/{id}\/organization":{"get":{"operationId":"api_subscriptions_organization_get_subresourceSubscriptionSubresource","tags":["Organization","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Subscription identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/token":{"ref":"JWT Token","put":{"tags":["Token"],"responses":{"200":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token:update"}}}}},"summary":"Update scope of token","description":"","parameters":[],"requestBody":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials:update"}}},"required":false},"deprecated":false},"post":{"operationId":"postCredentialsItem","tags":["Token"],"responses":{"200":{"description":"Get JWT token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token"}}}}},"summary":"Get JWT token to login.","description":"","parameters":[],"requestBody":{"description":"Generate new JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/user-authorization\/{id}":{"get":{"operationId":"getUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserAuthorization resource.","description":"Retrieves a UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the UserAuthorization resource.","description":"Replaces the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"204":{"description":"UserAuthorization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserAuthorization resource.","description":"Removes the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the UserAuthorization resource.","description":"Updates the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user-authorizations":{"get":{"operationId":"getUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves the collection of UserAuthorization resources.","description":"Retrieves the collection of UserAuthorization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"201":{"description":"UserAuthorization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserAuthorization resource.","description":"Creates a UserAuthorization resource.","parameters":[],"requestBody":{"description":"The new UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}":{"get":{"operationId":"getUserItem","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the User resource.","description":"Replaces the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserItem","tags":["User"],"responses":{"204":{"description":"User resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the User resource.","description":"Removes the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/authorizations":{"get":{"operationId":"api_users_authorizations_get_subresourceUserSubresource","tags":["UserAuthorization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/change-password":{"patch":{"operationId":"change_passwordUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User.UserChangePasswordInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users":{"get":{"operationId":"getUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserCollection","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}":{"get":{"operationId":"getWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Workspace resource.","description":"Replaces the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteWorkspaceItem","tags":["Workspace"],"responses":{"204":{"description":"Workspace resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Workspace resource.","description":"Removes the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Workspace resource.","description":"Updates the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/authorizations":{"get":{"operationId":"api_workspaces_authorizations_get_subresourceWorkspaceSubresource","tags":["UserAuthorization","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/users":{"get":{"operationId":"api_workspaces_users_get_subresourceWorkspaceSubresource","tags":["User","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspaces":{"get":{"operationId":"getWorkspaceCollection","tags":["Workspace"],"responses":{"200":{"description":"Workspace collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves the collection of Workspace resources.","description":"Retrieves the collection of Workspace resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postWorkspaceCollection","tags":["Workspace"],"responses":{"201":{"description":"Workspace resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Workspace resource.","description":"Creates a Workspace resource.","parameters":[],"requestBody":{"description":"The new Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/config-map":{"post":{"operationId":"postConfigMapCollection","tags":["ConfigMap"],"responses":{"201":{"description":"ConfigMap resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}}},"links":{"GetConfigMapItem":{"operationId":"getConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ConfigMap resource.","description":"Creates a ConfigMap resource.","parameters":[],"requestBody":{"description":"The new ConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.ConfigMapInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.ConfigMapInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.ConfigMapInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/config-map\/{id}":{"get":{"operationId":"getConfigMapItem","tags":["ConfigMap"],"responses":{"200":{"description":"ConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ConfigMap resource.","description":"Retrieves a ConfigMap resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/config-map\/{id}\/put\/":{"put":{"operationId":"add_valueConfigMapCollection","tags":["ConfigMap"],"responses":{"200":{"description":"ConfigMap resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}}},"links":{"GetConfigMapItem":{"operationId":"getConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a new Config Map value to the Config Map storage","description":"Adds a new Config Map value to the Config Map storage","parameters":[{"name":"id","in":"path","description":"Config Map resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","patternProperties":{"^[a-z_][a-z0-9_]+$":{"type":"string"}}},"example":{"url":"https:\/\/api.example.com","access_token":"AAAAAA....AAAAAAA"}}},"required":false},"deprecated":false},"parameters":[]},"\/environment\/config-maps":{"get":{"operationId":"getConfigMapCollection","tags":["ConfigMap"],"responses":{"200":{"description":"ConfigMap collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}}}}},"summary":"Retrieves the collection of ConfigMap resources.","description":"Retrieves the collection of ConfigMap resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/environment":{"post":{"operationId":"postEnvironmentCollection","tags":["Environment"],"responses":{"201":{"description":"Environment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"links":{"GetEnvironmentItem":{"operationId":"getEnvironmentItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/environment\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Environment resource.","description":"Creates a Environment resource.","parameters":[],"requestBody":{"description":"The new Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment\/{id}":{"get":{"operationId":"getEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Environment resource.","description":"Retrieves a Environment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/environments":{"get":{"operationId":"getEnvironmentCollection","tags":["Environment"],"responses":{"200":{"description":"Environment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}}}}},"summary":"Retrieves the collection of Environment resources.","description":"Retrieves the collection of Environment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret":{"post":{"operationId":"postSecretCollection","tags":["Secret"],"responses":{"201":{"description":"Secret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Secret resource.","description":"Creates a Secret resource.","parameters":[],"requestBody":{"description":"The new Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}":{"get":{"operationId":"getSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Secret resource.","description":"Retrieves a Secret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}\/put\/":{"put":{"operationId":"add_valueSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a new Secret value to the Secret storage","description":"Adds a new Secret value to the Secret storage","parameters":[{"name":"id","in":"path","description":"Secret resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","patternProperties":{"^[a-z_][a-z0-9_]+$":{"type":"string"}}},"example":{"url":"https:\/\/api.example.com","access_token":"AAAAAA....AAAAAAA"}}},"required":false},"deprecated":false},"parameters":[]},"\/environment\/secrets":{"get":{"operationId":"getSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}}}},"summary":"Retrieves the collection of Secret resources.","description":"Retrieves the collection of Secret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map":{"post":{"operationId":"postVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"201":{"description":"VariableFromConfigMap resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"links":{"GetVariableFromConfigMapItem":{"operationId":"getVariableFromConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromConfigMap resource.","description":"Creates a VariableFromConfigMap resource.","parameters":[],"requestBody":{"description":"The new VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map\/{id}":{"get":{"operationId":"getVariableFromConfigMapItem","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromConfigMap resource.","description":"Retrieves a VariableFromConfigMap resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-maps":{"get":{"operationId":"getVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}}}},"summary":"Retrieves the collection of VariableFromConfigMap resources.","description":"Retrieves the collection of VariableFromConfigMap resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret":{"post":{"operationId":"postVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"201":{"description":"VariableFromSecret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"links":{"GetVariableFromSecretItem":{"operationId":"getVariableFromSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromSecret resource.","description":"Creates a VariableFromSecret resource.","parameters":[],"requestBody":{"description":"The new VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret\/{id}":{"get":{"operationId":"getVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromSecret resource.","description":"Retrieves a VariableFromSecret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secrets":{"get":{"operationId":"getVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}}}},"summary":"Retrieves the collection of VariableFromSecret resources.","description":"Retrieves the collection of VariableFromSecret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance":{"post":{"operationId":"postAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"201":{"description":"AkeneoInstance resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"links":{"GetAkeneoInstanceItem":{"operationId":"getAkeneoInstanceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/instance\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a AkeneoInstance resource.","description":"Creates a AkeneoInstance resource.","parameters":[],"requestBody":{"description":"The new AkeneoInstance resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.AkeneoInstanceInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.AkeneoInstanceInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.AkeneoInstanceInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance\/from-url":{"get":{"operationId":"get_akeneo_instance_by_pim_urlAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}}}},"summary":"Check if an organization exists in the database","description":"Check if an organization exists in the database","parameters":[{"name":"url","in":"query","description":"","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance\/oauth-state":{"get":{"operationId":"get_akeneo_instance_oauthAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}}}},"summary":"Check if an organization exists in the database","description":"Check if an organization exists in the database","parameters":[{"name":"url","in":"query","description":"","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance\/{id}":{"get":{"operationId":"getAkeneoInstanceItem","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AkeneoInstance resource.","description":"Retrieves a AkeneoInstance resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instances":{"get":{"operationId":"getAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}}}},"summary":"Retrieves the collection of AkeneoInstance resources.","description":"Retrieves the collection of AkeneoInstance resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-account":{"post":{"operationId":"postAkeneoLinkedAccountCollection","tags":["AkeneoLinkedAccount"],"responses":{"201":{"description":"AkeneoLinkedAccount resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}},"links":{"GetAkeneoLinkedAccountItem":{"operationId":"getAkeneoLinkedAccountItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/linked-account\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a AkeneoLinkedAccount resource.","description":"Creates a AkeneoLinkedAccount resource.","parameters":[],"requestBody":{"description":"The new AkeneoLinkedAccount resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.AkeneoLinkedAccountsInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.AkeneoLinkedAccountsInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.AkeneoLinkedAccountsInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-account\/{akeneoUserId}":{"get":{"operationId":"get_akeneo_linked_accountAkeneoLinkedAccountCollection","tags":["AkeneoLinkedAccount"],"responses":{"200":{"description":"AkeneoLinkedAccount collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}}}}},"summary":"Check if an akeneo user exists in the database","description":"Check if an akeneo user exists in the database","parameters":[{"name":"akeneoUserId","in":"path","description":"","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-account\/{id}":{"get":{"operationId":"getAkeneoLinkedAccountItem","tags":["AkeneoLinkedAccount"],"responses":{"200":{"description":"AkeneoLinkedAccount resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AkeneoLinkedAccount resource.","description":"Retrieves a AkeneoLinkedAccount resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-accounts":{"get":{"operationId":"getAkeneoLinkedAccountCollection","tags":["AkeneoLinkedAccount"],"responses":{"200":{"description":"AkeneoLinkedAccount collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}}}}},"summary":"Retrieves the collection of AkeneoLinkedAccount resources.","description":"Retrieves the collection of AkeneoLinkedAccount resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/state":{"post":{"operationId":"postAkeneoOauthTokenCollection","tags":["AkeneoOauthToken"],"responses":{"201":{"description":"AkeneoOauthToken resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateOutput.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateOutput-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateOutput-read"}}},"links":{"GetAkeneoOauthTokenItem":{"operationId":"getAkeneoOauthTokenItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/oauth\/state\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Generate an Akeneo OAuth state","description":"Generate an Akeneo OAuth state","parameters":[],"requestBody":{"description":"The new AkeneoOauthToken resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/state\/{id}":{"get":{"operationId":"getAkeneoOauthTokenItem","tags":["AkeneoOauthToken"],"responses":{"200":{"description":"AkeneoOauthToken resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AkeneoOauthToken resource.","description":"Retrieves a AkeneoOauthToken resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/states":{"get":{"operationId":"getAkeneoOauthTokenCollection","tags":["AkeneoOauthToken"],"responses":{"200":{"description":"AkeneoOauthToken collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}}}}}},"summary":"Retrieves the collection of AkeneoOauthToken resources.","description":"Retrieves the collection of AkeneoOauthToken resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/token":{"put":{"operationId":"put_akeneo_oauth_tokenAkeneoOauthTokenCollection","tags":["AkeneoOauthToken"],"responses":{"200":{"description":"AkeneoOauthToken resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenOutput.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenOutput-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenOutput-read"}}}},"links":{"GetAkeneoOauthTokenItem":{"operationId":"getAkeneoOauthTokenItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/oauth\/state\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Generate an Akeneo OAuth token","description":"Generate an Akeneo OAuth token","parameters":[],"requestBody":{"description":"The updated AkeneoOauthToken resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenInput.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenInput"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenInput"}}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/code\/{id}":{"get":{"operationId":"getReferralCodeItem","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralCode resource.","description":"Retrieves a ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteReferralCodeItem","tags":["ReferralCode"],"responses":{"204":{"description":"ReferralCode resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ReferralCode resource.","description":"Removes the ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/codes":{"get":{"operationId":"getReferralCodeCollection","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}}}},"summary":"Retrieves the collection of ReferralCode resources.","description":"Retrieves the collection of ReferralCode resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postReferralCodeCollection","tags":["ReferralCode"],"responses":{"201":{"description":"ReferralCode resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"links":{"GetReferralCodeItem":{"operationId":"getReferralCodeItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/code\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralCode resource.","description":"Creates a ReferralCode resource.","parameters":[],"requestBody":{"description":"The new ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/on-premise-request\/{id}":{"get":{"operationId":"getOnPremiseRequestItem","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OnPremiseRequest resource.","description":"Retrieves a OnPremiseRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/on-premise-requests":{"get":{"operationId":"getOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}}}},"summary":"Retrieves the collection of OnPremiseRequest resources.","description":"Retrieves the collection of OnPremiseRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"201":{"description":"OnPremiseRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"links":{"GetOnPremiseRequestItem":{"operationId":"getOnPremiseRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/on-premise-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a OnPremiseRequest resource.","description":"Creates a OnPremiseRequest resource.","parameters":[],"requestBody":{"description":"The new OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}":{"get":{"operationId":"getReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralRequest resource.","description":"Retrieves a ReferralRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/accept":{"patch":{"operationId":"accept_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Accepts a referral request","description":"Accepts a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/reject":{"patch":{"operationId":"reject_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Rejects a referral request","description":"Rejects a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-requests":{"post":{"operationId":"postReferralRequestCollection","tags":["ReferralRequest"],"responses":{"201":{"description":"ReferralRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralRequest resource.","description":"Creates a ReferralRequest resource.","parameters":[],"requestBody":{"description":"The new ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/requests":{"get":{"operationId":"getReferralRequestCollection","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}}}},"summary":"Retrieves the collection of ReferralRequest resources.","description":"Retrieves the collection of ReferralRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}":{"get":{"operationId":"getActionItem","tags":["Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/organization":{"get":{"operationId":"api_actions_organization_get_subresourceActionSubresource","tags":["Organization","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/owner":{"get":{"operationId":"api_actions_owner_get_subresourceActionSubresource","tags":["User","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/workspace":{"get":{"operationId":"api_actions_workspace_get_subresourceActionSubresource","tags":["Workspace","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/actions":{"get":{"operationId":"getActionCollection","tags":["Action"],"responses":{"200":{"description":"Action collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}}}}},"summary":"Retrieves the collection of Action resources.","description":"Retrieves the collection of Action resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}":{"get":{"operationId":"getExecutionPipelineJobItem","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}\/steps":{"get":{"operationId":"api_execution_pipeline_jobs_steps_get_subresourceExecutionPipelineJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-jobs":{"get":{"operationId":"getExecutionPipelineJobCollection","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}}},"summary":"Retrieves the collection of ExecutionPipelineJob resources.","description":"Retrieves the collection of ExecutionPipelineJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/action\/{id}":{"get":{"operationId":"getExecutionActionItem","tags":["ExecutionAction"],"responses":{"200":{"description":"ExecutionAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionAction resource.","description":"Retrieves a ExecutionAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipeline\/{id}\/steps":{"get":{"operationId":"api_execution_pipelines_steps_get_subresourceExecutionPipelineSubresource","tags":["ExecutionPipelineStep","ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipelines":{"get":{"operationId":"getExecutionPipelineCollection","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}}},"summary":"Retrieves the collection of ExecutionPipeline resources.","description":"Retrieves the collection of ExecutionPipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/action":{"get":{"operationId":"api_execution_workflows_jobs_action_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/pipeline":{"get":{"operationId":"api_execution_workflows_jobs_pipeline_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/jobs":{"get":{"operationId":"api_execution_workflows_jobs_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflows":{"get":{"operationId":"getExecutionWorkflowCollection","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflow resources.","description":"Retrieves the collection of ExecutionWorkflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/step\/{id}":{"get":{"operationId":"getExecutionPipelineStepItem","tags":["ExecutionPipelineStep"],"responses":{"200":{"description":"ExecutionPipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineStep resource.","description":"Retrieves a ExecutionPipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/{id}":{"get":{"operationId":"getExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/action\/{id}":{"get":{"operationId":"getExecutionWorkflowJobActionItem","tags":["ExecutionWorkflowJobAction"],"responses":{"200":{"description":"ExecutionWorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJobAction resource.","description":"Retrieves a ExecutionWorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/action":{"get":{"operationId":"api_execution_workflow_jobs_action_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline\/steps":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_steps_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"pipeline","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-jobs":{"get":{"operationId":"getExecutionWorkflowJobCollection","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflowJob resources.","description":"Retrieves the collection of ExecutionWorkflowJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/job\/{id}":{"get":{"operationId":"getExecutionWorkflowJobItem","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/{id}":{"get":{"operationId":"getExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}":{"get":{"operationId":"getExecutionItem","tags":["Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/action":{"get":{"operationId":"api_executions_action_get_subresourceExecutionSubresource","tags":["ExecutionAction","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/organization":{"get":{"operationId":"api_executions_organization_get_subresourceExecutionSubresource","tags":["Organization","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/owner":{"get":{"operationId":"api_executions_owner_get_subresourceExecutionSubresource","tags":["User","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/pipeline":{"get":{"operationId":"api_executions_pipeline_get_subresourceExecutionSubresource","tags":["ExecutionPipeline","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow":{"get":{"operationId":"api_executions_workflow_get_subresourceExecutionSubresource","tags":["ExecutionWorkflow","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow\/jobs":{"get":{"operationId":"api_executions_workflow_jobs_get_subresourceExecutionSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workspace":{"get":{"operationId":"api_executions_workspace_get_subresourceExecutionSubresource","tags":["Workspace","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions":{"get":{"operationId":"getExecutionCollection","tags":["Execution"],"responses":{"200":{"description":"Execution collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves the collection of Execution resources.","description":"Retrieves the collection of Execution resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions\/declare":{"post":{"operationId":"declare_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a pipeline execution","description":"Declares a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/finish":{"post":{"operationId":"finish_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Finishes a pipeline execution","description":"Finishes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/interrupt":{"post":{"operationId":"interrupt_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Interrupts a pipeline execution","description":"Interrupts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/resume":{"post":{"operationId":"resume_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Resumes a pipeline execution","description":"Resumes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/start":{"post":{"operationId":"start_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Starts a pipeline execution","description":"Starts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/terminate":{"post":{"operationId":"terminate_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Terminates a pipeline execution","description":"Terminates a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/update-state":{"post":{"operationId":"update_execution_stateExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Updates a pipeline execution state","description":"Updates a pipeline execution state","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/organization":{"get":{"operationId":"api_pipeline_compilations_organization_get_subresourcePipelineCompilationSubresource","tags":["Organization","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/user":{"get":{"operationId":"api_pipeline_compilations_user_get_subresourcePipelineCompilationSubresource","tags":["User","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/workspace":{"get":{"operationId":"api_pipeline_compilations_workspace_get_subresourcePipelineCompilationSubresource","tags":["Workspace","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-step-probes":{"get":{"operationId":"getPipelineStepProbeCollection","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves the collection of PipelineStepProbe resources.","description":"Retrieves the collection of PipelineStepProbe resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/probe\/{id}":{"get":{"operationId":"getPipelineStepProbeItem","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStepProbe resource.","description":"Retrieves a PipelineStepProbe resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}":{"get":{"operationId":"getPipelineStepItem","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}\/probes":{"get":{"operationId":"api_pipeline_steps_probes_get_subresourcePipelineStepSubresource","tags":["PipelineStepProbe","PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"PipelineStep identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/steps":{"get":{"operationId":"getPipelineStepCollection","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}}}}},"summary":"Retrieves the collection of PipelineStep resources.","description":"Retrieves the collection of PipelineStep resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}":{"get":{"operationId":"getPipelineItem","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"delete_pipelinePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Deletes a pipeline","description":"Deletes a pipeline","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/compilations":{"get":{"operationId":"api_pipelines_compilations_get_subresourcePipelineSubresource","tags":["PipelineCompilation","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/organization":{"get":{"operationId":"api_pipelines_organization_get_subresourcePipelineSubresource","tags":["Organization","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/owner":{"get":{"operationId":"api_pipelines_owner_get_subresourcePipelineSubresource","tags":["User","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}":{"delete":{"operationId":"delete_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a step from a pipeline","description":"Removes a step from a pipeline","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}\/probes\/{probeCode}\/{probeLabel}":{"delete":{"operationId":"remove_pipeline_step_probePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a probe from a step","description":"Removes a probe from a step","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_code","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_label","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/workspace":{"get":{"operationId":"api_pipelines_workspace_get_subresourcePipelineSubresource","tags":["Workspace","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines":{"get":{"operationId":"getPipelineCollection","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}}},"summary":"Retrieves the collection of Pipeline resources.","description":"Retrieves the collection of Pipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"code","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"code[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"declare_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a docker pipeline","description":"Declares a docker pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/add-composer":{"post":{"operationId":"add_composer_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds PSR4 autoload composer to a pipeline","description":"Adds PSR4 autoload composer to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compilation":{"get":{"operationId":"getPipelineCompilationCollection","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves the collection of PipelineCompilation resources.","description":"Retrieves the collection of PipelineCompilation resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compile":{"post":{"operationId":"pipeline_compilationPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a pipeline compilation","description":"Creates a pipeline compilation","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-after":{"post":{"operationId":"add_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step after another one in a pipeline","description":"Adds a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-before":{"post":{"operationId":"add_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step before another one in a pipeline","description":"Adds a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/append":{"post":{"operationId":"append_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Appends a step to a pipeline","description":"Appends a step to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-after":{"post":{"operationId":"move_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step after another one in a pipeline","description":"Moves a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-before":{"post":{"operationId":"move_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step before another one in a pipeline","description":"Moves a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/probes":{"post":{"operationId":"add_pipeline_step_probePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a probe to a step","description":"Adds a probe to a step","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/reorder":{"post":{"operationId":"reorder_pipeline_stepsPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Reorganizes the steps of a pipeline according to a given order","description":"Reorganizes the steps of a pipeline according to a given order","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/replace":{"post":{"operationId":"replace_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Replaces a step by another one in a pipeline","description":"Replaces a step by another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-immediate":{"post":{"operationId":"schedule_immediateScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a pipeline execution immediately","description":"Schedule a pipeline execution immediately","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-once":{"post":{"operationId":"schedule_onceScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule an immediate pipeline execution","description":"Schedule an immediate pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-times":{"post":{"operationId":"schedule_timesScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a recurring pipeline execution","description":"Schedule a recurring pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-until":{"post":{"operationId":"schedule_untilScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a delayed pipeline execution","description":"Schedule a delayed pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}":{"get":{"operationId":"getScheduleItem","tags":["Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/executions":{"get":{"operationId":"api_schedules_executions_get_subresourceScheduleSubresource","tags":["Execution","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/organization":{"get":{"operationId":"api_schedules_organization_get_subresourceScheduleSubresource","tags":["Organization","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/owner":{"get":{"operationId":"api_schedules_owner_get_subresourceScheduleSubresource","tags":["User","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/pipeline":{"get":{"operationId":"api_schedules_pipeline_get_subresourceScheduleSubresource","tags":["Pipeline","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow":{"get":{"operationId":"api_schedules_workflow_get_subresourceScheduleSubresource","tags":["Workflow","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/jobs":{"get":{"operationId":"api_schedules_workflow_jobs_get_subresourceScheduleSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/organization":{"get":{"operationId":"api_schedules_workflow_organization_get_subresourceScheduleSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/owner":{"get":{"operationId":"api_schedules_workflow_owner_get_subresourceScheduleSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/workspace":{"get":{"operationId":"api_schedules_workflow_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workspace":{"get":{"operationId":"api_schedules_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedules":{"get":{"operationId":"getScheduleCollection","tags":["Schedule"],"responses":{"200":{"description":"Schedule collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}}}}},"summary":"Retrieves the collection of Schedule resources.","description":"Retrieves the collection of Schedule resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/action\/{id}":{"get":{"operationId":"getWorkflowJobActionItem","tags":["WorkflowJobAction"],"responses":{"200":{"description":"WorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobAction resource.","description":"Retrieves a WorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/job\/{id}":{"get":{"operationId":"getWorkflowJobItem","tags":["WorkflowJob"],"responses":{"200":{"description":"WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJob resource.","description":"Retrieves a WorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/pipeline\/{id}":{"get":{"operationId":"getWorkflowJobPipelineItem","tags":["WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobPipeline resource.","description":"Retrieves a WorkflowJobPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}":{"get":{"operationId":"getWorkflowItem","tags":["Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/jobs":{"get":{"operationId":"api_workflows_jobs_get_subresourceWorkflowSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/organization":{"get":{"operationId":"api_workflows_organization_get_subresourceWorkflowSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/owner":{"get":{"operationId":"api_workflows_owner_get_subresourceWorkflowSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/workspace":{"get":{"operationId":"api_workflows_workspace_get_subresourceWorkflowSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflows":{"get":{"operationId":"getWorkflowCollection","tags":["Workflow"],"responses":{"200":{"description":"Workflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}}},"summary":"Retrieves the collection of Workflow resources.","description":"Retrieves the collection of Workflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtimepipeline\/compilation\/{id}":{"get":{"operationId":"getPipelineCompilationItem","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]}},"components":{"schemas":{"AbstractPipeline":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline.jsonld":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Action-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"Action.jsonld-read":{"type":"object","required":["id"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"}}},"AkeneoInstance":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"secret":{"type":"string","format":"iri-reference"},"linkedAccounts":{"type":"array","items":{"type":"string","format":"iri-reference"}},"oauthTokens":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AkeneoInstance.AkeneoInstanceInput":{"type":"object","properties":{"pimUrl":{"type":"string"},"organization":{"type":"string","format":"uuid"},"secret":{"$ref":"#\/components\/schemas\/SecretInput"}}},"AkeneoInstance.AkeneoInstanceInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pimUrl":{"type":"string"},"organization":{"type":"string","format":"uuid"},"secret":{"$ref":"#\/components\/schemas\/SecretInput.jsonld"}}},"AkeneoInstance.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"secret":{"type":"string","format":"iri-reference"},"linkedAccounts":{"type":"array","items":{"type":"string","format":"iri-reference"}},"oauthTokens":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AkeneoLinkedAccount":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"tokenId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"akeneoUserId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"token":{"type":"string"},"akeneoInstance":{"type":"string","format":"iri-reference","nullable":true}},"required":["user","token"]},"AkeneoLinkedAccount.AkeneoLinkedAccountsInput":{"type":"object","properties":{"akeneoInstance":{"type":"string","format":"uuid"},"tokenId":{"type":"string","format":"uuid"},"akeneoUserId":{"type":"string","format":"uuid"},"token":{"type":"string"}}},"AkeneoLinkedAccount.AkeneoLinkedAccountsInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"akeneoInstance":{"type":"string","format":"uuid"},"tokenId":{"type":"string","format":"uuid"},"akeneoUserId":{"type":"string","format":"uuid"},"token":{"type":"string"}}},"AkeneoLinkedAccount.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"tokenId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"akeneoUserId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"token":{"type":"string"},"akeneoInstance":{"type":"string","format":"iri-reference","nullable":true}},"required":["user","token"]},"AkeneoOauthToken-read":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"responseType":{"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"AkeneoOauthToken.OauthStateInput":{"type":"object","properties":{"url":{"type":"string"},"scope":{"type":"array","items":{"type":"string"}}}},"AkeneoOauthToken.OauthStateInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"url":{"type":"string"},"scope":{"type":"array","items":{"type":"string"}}}},"AkeneoOauthToken.OauthStateOutput-read":{"type":"object"},"AkeneoOauthToken.OauthStateOutput.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AkeneoOauthToken.OauthTokenInput":{"type":"object","properties":{"url":{"type":"string"},"state":{"type":"string"},"code":{"type":"string"}}},"AkeneoOauthToken.OauthTokenInput.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"url":{"type":"string"},"state":{"type":"string"},"code":{"type":"string"}}},"AkeneoOauthToken.OauthTokenOutput-read":{"type":"object"},"AkeneoOauthToken.OauthTokenOutput.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AkeneoOauthToken.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"responseType":{"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"AutoloadInput":{"type":"object","properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"AutoloadInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"BigDecimal":{"type":"object","properties":{"scale":{"readOnly":true,"description":"The scale (number of digits after the decimal point) of this decimal number.","type":"integer"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"unscaledValue":{"readOnly":true,"$ref":"#\/components\/schemas\/BigInteger"},"integralPart":{"readOnly":true,"description":"Returns a string representing the integral part of this decimal number.","type":"string"},"fractionalPart":{"readOnly":true,"description":"Returns a string representing the fractional part of this decimal number.","type":"string"},"nonZeroFractionalPart":{"readOnly":true,"description":"Returns whether this decimal number has a non-zero fractional part.","type":"boolean"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigDecimal.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"scale":{"readOnly":true,"description":"The scale (number of digits after the decimal point) of this decimal number.","type":"integer"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"unscaledValue":{"readOnly":true,"$ref":"#\/components\/schemas\/BigInteger.jsonld"},"integralPart":{"readOnly":true,"description":"Returns a string representing the integral part of this decimal number.","type":"string"},"fractionalPart":{"readOnly":true,"description":"Returns a string representing the fractional part of this decimal number.","type":"string"},"nonZeroFractionalPart":{"readOnly":true,"description":"Returns whether this decimal number has a non-zero fractional part.","type":"boolean"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigInteger":{"type":"object","properties":{"bitLength":{"readOnly":true,"description":"Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit.","type":"integer"},"lowestSetBit":{"readOnly":true,"description":"Returns the index of the rightmost (lowest-order) one bit in this BigInteger.","type":"integer"},"even":{"readOnly":true,"description":"Returns whether this number is even.","type":"boolean"},"odd":{"readOnly":true,"description":"Returns whether this number is odd.","type":"boolean"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigInteger.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"bitLength":{"readOnly":true,"description":"Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit.","type":"integer"},"lowestSetBit":{"readOnly":true,"description":"Returns the index of the rightmost (lowest-order) one bit in this BigInteger.","type":"integer"},"even":{"readOnly":true,"description":"Returns whether this number is even.","type":"boolean"},"odd":{"readOnly":true,"description":"Returns whether this number is odd.","type":"boolean"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigNumber":{"type":"object","properties":{"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"},"sign":{"readOnly":true,"description":"Returns the sign of this number.","type":"integer"}}},"BigNumber.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"},"sign":{"readOnly":true,"description":"Returns the sign of this number.","type":"integer"}}},"ConfigMap":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"ConfigMap.ConfigMapInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput"}}},"ConfigMap.ConfigMapInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput.jsonld"}}},"ConfigMap.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"ConfigMapValueInput":{"type":"object","properties":{"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"ConfigMapValueInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"Context":{"type":"object","properties":{"step":{"readOnly":true,"description":"Returns the step used by this context.","type":"integer"},"fixedScale":{"readOnly":true,"description":"Returns whether this context uses a fixed scale and step.","type":"boolean"}}},"Context.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"step":{"readOnly":true,"description":"Returns the step used by this context.","type":"integer"},"fixedScale":{"readOnly":true,"description":"Returns whether this context uses a fixed scale and step.","type":"boolean"}}},"Currency":{"type":"object","properties":{"currencyCode":{"description":"The currency code.","type":"string"},"numericCode":{"description":"The numeric currency code.","type":"integer"},"name":{"description":"The name of the currency.","type":"string"},"defaultFractionDigits":{"description":"The default number of fraction digits (typical scale) used with this currency.","type":"integer"}}},"Currency.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"currencyCode":{"description":"The currency code.","type":"string"},"numericCode":{"description":"The numeric currency code.","type":"integer"},"name":{"description":"The name of the currency.","type":"string"},"defaultFractionDigits":{"description":"The default number of fraction digits (typical scale) used with this currency.","type":"integer"}}},"Environment":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable"}}}},"Environment.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable.jsonld"}}}},"Execution-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction-read"}]}}},"Execution.DeclarePipelineExecutionCommand-read":{"type":"object"},"Execution.DeclarePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput":{"type":"object","properties":{"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommand-read":{"type":"object"},"Execution.FinishPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommand-read":{"type":"object"},"Execution.InterruptPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommand-read":{"type":"object"},"Execution.ResumePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommand-read":{"type":"object"},"Execution.StartPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.StartPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.TerminatePipelineExecutionCommand-read":{"type":"object"},"Execution.TerminatePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommand-read":{"type":"object"},"Execution.UpdatePipelineExecutionStateCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList"}}},"Execution.UpdatePipelineExecutionStateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList.jsonld"}}},"Execution.jsonld-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld-read"}]}}},"ExecutionAction":{"type":"object","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld":{"type":"object","required":["execution","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"ExecutionPipeline":{"type":"object","required":["execution"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipeline.jsonld":{"type":"object","required":["execution"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob":{"type":"object","required":["job"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob.jsonld":{"type":"object","required":["job"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionPipelineStep.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionWorkflow":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflow.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflowJob":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJob.jsonld":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionWorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"Money":{"type":"object","properties":{"amount":{"readOnly":true,"description":"The amount.","$ref":"#\/components\/schemas\/BigDecimal"},"currency":{"readOnly":true,"description":"The currency.","$ref":"#\/components\/schemas\/Currency"},"context":{"readOnly":true,"description":"The context that defines the capability of this Money.","$ref":"#\/components\/schemas\/Context"},"minorAmount":{"readOnly":true,"description":"Returns the amount of this Money in minor units (cents) for the currency.","$ref":"#\/components\/schemas\/BigDecimal"},"unscaledAmount":{"readOnly":true,"description":"Returns a BigInteger containing the unscaled value (all digits) of this money.","$ref":"#\/components\/schemas\/BigInteger"},"amounts":{"readOnly":true,"description":"Required by interface MoneyContainer.","type":"array","items":{"$ref":"#\/components\/schemas\/BigNumber"}},"sign":{"readOnly":true,"description":"Returns the sign of this money.","type":"integer"},"zero":{"readOnly":true,"description":"Returns whether this money has zero value.","type":"boolean"},"negative":{"readOnly":true,"description":"Returns whether this money has a negative value.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Returns whether this money has a negative or zero value.","type":"boolean"},"positive":{"readOnly":true,"description":"Returns whether this money has a positive value.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Returns whether this money has a positive or zero value.","type":"boolean"}}},"Money.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"amount":{"readOnly":true,"description":"The amount.","$ref":"#\/components\/schemas\/BigDecimal.jsonld"},"currency":{"readOnly":true,"description":"The currency.","$ref":"#\/components\/schemas\/Currency.jsonld"},"context":{"readOnly":true,"description":"The context that defines the capability of this Money.","$ref":"#\/components\/schemas\/Context.jsonld"},"minorAmount":{"readOnly":true,"description":"Returns the amount of this Money in minor units (cents) for the currency.","$ref":"#\/components\/schemas\/BigDecimal.jsonld"},"unscaledAmount":{"readOnly":true,"description":"Returns a BigInteger containing the unscaled value (all digits) of this money.","$ref":"#\/components\/schemas\/BigInteger.jsonld"},"amounts":{"readOnly":true,"description":"Required by interface MoneyContainer.","type":"array","items":{"$ref":"#\/components\/schemas\/BigNumber.jsonld"}},"sign":{"readOnly":true,"description":"Returns the sign of this money.","type":"integer"},"zero":{"readOnly":true,"description":"Returns whether this money has zero value.","type":"boolean"},"negative":{"readOnly":true,"description":"Returns whether this money has a negative value.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Returns whether this money has a negative or zero value.","type":"boolean"},"positive":{"readOnly":true,"description":"Returns whether this money has a positive value.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Returns whether this money has a positive or zero value.","type":"boolean"}}},"Offer":{"type":"object","properties":{"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price"}},"required":["sku","name","slug","description","price"]},"Offer.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price.jsonld"}},"required":["sku","name","slug","description","price"]},"OnPremiseRequest-on-premise-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"OnPremiseRequest.jsonld-on-premise-request.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest.jsonld-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"Option":{"type":"object","required":["offer","sku","name","slug","description","price"],"properties":{"offer":{"type":"string","format":"iri-reference","nullable":true},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price"}}},"Option.jsonld":{"type":"object","required":["offer","sku","name","slug","description","price"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"offer":{"type":"string","format":"iri-reference","nullable":true},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price.jsonld"}}},"Organization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Organization.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Pipeline-read":{"type":"object","properties":{"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"Pipeline.AddAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.AddAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.AddBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineStepProbCommandInput":{"type":"object","properties":{"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe"}}},"Pipeline.AddPipelineStepProbCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}},"Pipeline.AddPipelineStepProbeCommand-read":{"type":"object"},"Pipeline.AddPipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommand-read":{"type":"object"},"Pipeline.AppendPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AppendPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.CompilePipelineCommand-read":{"type":"object"},"Pipeline.CompilePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.CompilePipelineCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.CompilePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.DeclarePipelineCommand-read":{"type":"object"},"Pipeline.DeclarePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.DeclarePipelineCommandInput":{"type":"object","properties":{"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput"}}}},"Pipeline.DeclarePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput.jsonld"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput.jsonld"}}}},"Pipeline.MoveAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.MoveAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.MoveBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.RemovePipelineStepProbeCommand-read":{"type":"object"},"Pipeline.RemovePipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommand-read":{"type":"object"},"Pipeline.ReorderPipelineStepsCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReorderPipelineStepsCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReplacePipelineStepCommand-read":{"type":"object"},"Pipeline.ReplacePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReplacePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.ReplacePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"PipelineCompilation":{"type":"object","required":["id","pipeline"],"properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineCompilation.jsonld":{"type":"object","required":["id","pipeline"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineId":{"type":"object"},"PipelineId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"PipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStep.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStepProbe":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"PipelineStepProbe.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"Price":{"type":"object","properties":{"price":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Money"}]}}},"Price.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"price":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Money.jsonld"}]}}},"Probe":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"}}},"Probe.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"}}},"ReferralCode-referral-code.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode-referral-code.write":{"type":"object","properties":{"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralCode.jsonld-referral-code.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode.jsonld-referral-code.write":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralRequest-referral-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"ReferralRequest.ReferralRequestInput":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.ReferralRequestInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.jsonld-referral-request.read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"Schedule":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"Schedule.DeclarePipelineScheduleImmediateCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleImmediateCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleOnceCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleOnceCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleTimesCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleTimesCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleUntilCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleUntilCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.jsonld":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"ScheduleId":{"type":"object"},"ScheduleId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Secret":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.SecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Secret.SecretInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Secret.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"SecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"SecretInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"StepInput":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"StepInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Subscription":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"type":"string","format":"iri-reference"},"offer":{"type":"string","format":"iri-reference","nullable":true},"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"cost":{"$ref":"#\/components\/schemas\/Price"},"periods":{"type":"object","additionalProperties":{"type":"string","format":"iri-reference"}}},"required":["organization","cost"]},"Subscription.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"type":"string","format":"iri-reference"},"offer":{"type":"string","format":"iri-reference","nullable":true},"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"cost":{"$ref":"#\/components\/schemas\/Price.jsonld"},"periods":{"type":"object","additionalProperties":{"type":"string","format":"iri-reference"}}},"required":["organization","cost"]},"SubscriptionOption":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"subscription":{"type":"string","format":"iri-reference","nullable":true},"option":{"type":"string","format":"iri-reference","nullable":true},"price":{"$ref":"#\/components\/schemas\/Price"}},"required":["subscription","option","price"]},"SubscriptionOption.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"subscription":{"type":"string","format":"iri-reference","nullable":true},"option":{"type":"string","format":"iri-reference","nullable":true},"price":{"$ref":"#\/components\/schemas\/Price.jsonld"}},"required":["subscription","option","price"]},"Traversable":{"type":"object"},"Traversable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"UpdateList":{"type":"object","properties":{"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"UpdateList.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"User":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"User.UserChangePasswordInput":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"},"confirmPassword":{"type":"string"}}},"User.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"UserAuthorization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserAuthorization.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserId":{"type":"object"},"UserId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Variable":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"Variable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"VariableFromConfigMap":{"type":"object","properties":{"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConfigMap.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret":{"type":"object","properties":{"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"Workflow-read":{"type":"object","required":["id","code","label"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"Workflow.jsonld-read":{"type":"object","required":["id","code","label"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}}}},"WorkflowJob-read":{"type":"object","required":["workflow"],"properties":{"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction-read"}]}}},"WorkflowJob.jsonld-read":{"type":"object","required":["workflow"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-read"}]}}},"WorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"WorkflowJobPipeline":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Workspace":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug","organization"]},"Workspace.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug","organization"]},"ForgotPassword:reset":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}},"ForgotPassword:validate":{"type":"object"},"ForgotPassword:request":{"type":"object","required":["email"],"properties":{"email":{"type":"string"}}},"Token":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials":{"type":"object","properties":{"username":{"type":"string","example":"johndoe"},"password":{"type":"string","example":"password"},"workspace":{"type":"string","example":"password"}}},"Token:update":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials:update":{"type":"object","properties":{"workspace":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"apiKey":[]}],"tags":[]} \ No newline at end of file diff --git a/jane/open_api.php b/jane/open_api.php index 67be63be..3ad95dbf 100644 --- a/jane/open_api.php +++ b/jane/open_api.php @@ -4,4 +4,6 @@ 'openapi-file' => __DIR__.'/gyroscops.json', 'namespace' => 'Gyroscops\Api', 'directory' => __DIR__ . '/../src/', + 'strict' => false, + 'use-fixer' => true, ]; diff --git a/src/Authentication/ApiKeyAuthentication.php b/src/Authentication/ApiKeyAuthentication.php index 2b43c52c..b58a1cd9 100644 --- a/src/Authentication/ApiKeyAuthentication.php +++ b/src/Authentication/ApiKeyAuthentication.php @@ -1,21 +1,25 @@ {'apiKey'} = $apiKey; } - public function authentication(\Psr\Http\Message\RequestInterface $request) : \Psr\Http\Message\RequestInterface + + public function authentication(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\RequestInterface { - $request = $request->withHeader('Authorization', $this->{'apiKey'}); - return $request; + return $request->withHeader('Authorization', $this->{'apiKey'}); } - public function getScope() : string + + public function getScope(): string { return 'apiKey'; } -} \ No newline at end of file +} diff --git a/src/Client.php b/src/Client.php index 78237b3a..c89494b0 100644 --- a/src/Client.php +++ b/src/Client.php @@ -1,2185 +1,3016 @@ executeEndpoint(new \Gyroscops\Api\Endpoint\PostForgotPassword($requestBody), $fetch); } + /** - * - * - * @param string $token * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException */ public function getForgotPassword(string $token, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetForgotPassword($token), $fetch); } + /** - * - * - * @param string $token - * @param null|\stdClass $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenBadRequestException * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException - * - * @return null|\Psr\Http\Message\ResponseInterface */ public function postForgotPasswordToken(string $token, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostForgotPasswordToken($token, $requestBody), $fetch); } + /** * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ public function meUserCollection(string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MeUserCollection(), $fetch); } + + /** + * Removes the Offer resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException + */ + public function deleteOfferItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteOfferItem($id), $fetch); + } + + /** + * Retrieves a Offer resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetOfferItemNotFoundException + */ + public function getOfferItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOfferItem($id), $fetch); + } + + /** + * Updates the Offer resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Offer|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PatchOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchOfferItemNotFoundException + */ + public function patchOfferItem(string $id, ?Model\Offer $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOfferItem($id, $requestBody), $fetch); + } + + /** + * Replaces the Offer resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OfferJsonld|\Gyroscops\Api\Model\Offer|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PutOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutOfferItemNotFoundException + */ + public function putOfferItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOfferItem($id, $requestBody), $fetch); + } + + /** + * Retrieves a Offer resource. + * + * @param string $id Offer identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Option[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiOffersOptionsGetSubresourceOfferSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOffersOptionsGetSubresourceOfferSubresource($id, $queryParameters), $fetch); + } + + /** + * Retrieves the collection of Offer resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Offer[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getOfferCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOfferCollection($queryParameters), $fetch); + } + /** * Removes the Organization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException */ public function deleteOrganizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteOrganizationItem($id), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException */ public function getOrganizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOrganizationItem($id), $fetch); } + /** * Updates the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Organization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface */ - public function patchOrganizationItem(string $id, \Gyroscops\Api\Model\Organization $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchOrganizationItem(string $id, ?Model\Organization $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOrganizationItem($id, $requestBody), $fetch); } + /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface */ - public function putOrganizationItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putOrganizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOrganizationItem($id, $requestBody), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsUsersGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsUsersGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsUsersGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsWorkspacesGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsWorkspacesGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of Organization resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization[]|\Psr\Http\Message\ResponseInterface|null */ - public function getOrganizationCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getOrganizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOrganizationCollection($queryParameters), $fetch); } + /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface */ - public function postOrganizationCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postOrganizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOrganizationCollection($requestBody), $fetch); } + /** - * + * Removes the Subscription resource. * - * @param null|\Gyroscops\Api\Model\Credentials $requestBody + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Token|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException */ - public function postCredentialsItem(?\Gyroscops\Api\Model\Credentials $requestBody = null, string $fetch = self::FETCH_OBJECT) + public function deleteSubscriptionItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostCredentialsItem($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteSubscriptionItem($id), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException + */ + public function getSubscriptionItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionItem($id), $fetch); } + /** - * + * Updates the Subscription resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param null|\stdClass $requestBody + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException + */ + public function patchSubscriptionItem(string $id, ?Model\Subscription $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchSubscriptionItem($id, $requestBody), $fetch); + } + + /** + * Creates a Subscription resource. + * + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException + */ + public function postSubscriptionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSubscriptionCollection($requestBody), $fetch); + } + + /** + * Replaces the Subscription resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException + */ + public function putSubscriptionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutSubscriptionItem($id, $requestBody), $fetch); + } + + /** + * Retrieves the collection of Subscription resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Subscription[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getSubscriptionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionCollection($queryParameters), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Subscription identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + */ + public function apiSubscriptionsOfferGetSubresourceSubscriptionSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource($id), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Subscription identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\SubscriptionOption[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiSubscriptionsOptionsGetSubresourceSubscriptionSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource($id, $queryParameters), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Subscription identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + */ + public function apiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource($id), $fetch); + } + + /** + * @param \Gyroscops\Api\Model\Credentials|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Token|\Psr\Http\Message\ResponseInterface|null + */ + public function postCredentialsItem(?Model\Credentials $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostCredentialsItem($requestBody), $fetch); + } + + /** + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null */ public function putAuthenticationToken(?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAuthenticationToken($requestBody), $fetch); } + /** * Removes the UserAuthorization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException */ public function deleteUserAuthorizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteUserAuthorizationItem($id), $fetch); } + /** * Retrieves a UserAuthorization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException */ public function getUserAuthorizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserAuthorizationItem($id), $fetch); } + /** * Updates the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface */ - public function patchUserAuthorizationItem(string $id, \Gyroscops\Api\Model\UserAuthorization $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchUserAuthorizationItem(string $id, ?Model\UserAuthorization $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserAuthorizationItem($id, $requestBody), $fetch); } + /** * Replaces the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface */ - public function putUserAuthorizationItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putUserAuthorizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserAuthorizationItem($id, $requestBody), $fetch); } + /** * Retrieves the collection of UserAuthorization resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function getUserAuthorizationCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getUserAuthorizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserAuthorizationCollection($queryParameters), $fetch); } + /** * Creates a UserAuthorization resource. * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface */ - public function postUserAuthorizationCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postUserAuthorizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserAuthorizationCollection($requestBody), $fetch); } + /** * Removes the User resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException */ public function deleteUserItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteUserItem($id), $fetch); } + /** * Retrieves a User resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException */ public function getUserItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserItem($id), $fetch); } + /** * Updates the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\User|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PatchUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface */ - public function patchUserItem(string $id, \Gyroscops\Api\Model\User $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchUserItem(string $id, ?Model\User $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserItem($id, $requestBody), $fetch); } + /** * Replaces the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PutUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface */ - public function putUserItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putUserItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserItem($id, $requestBody), $fetch); } + /** * Retrieves a User resource. * - * @param string $id User identifier - * @param array $queryParameters { + * @param string $id User identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiUsersAuthorizationsGetSubresourceUserSubresource($id, $queryParameters), $fetch); } + /** * Updates the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserUserChangePasswordInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface */ - public function changePasswordUserItem(string $id, \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody, string $fetch = self::FETCH_OBJECT) + public function changePasswordUserItem(string $id, ?Model\UserUserChangePasswordInput $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangePasswordUserItem($id, $requestBody), $fetch); } + /** * Retrieves the collection of User resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function getUserCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getUserCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserCollection($queryParameters), $fetch); } + /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface */ - public function postUserCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postUserCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserCollection($requestBody), $fetch); } + /** * Removes the Workspace resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException */ public function deleteWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteWorkspaceItem($id), $fetch); } + /** * Retrieves a Workspace resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException */ public function getWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceItem($id), $fetch); } + /** * Updates the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Workspace|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException + */ + public function patchWorkspaceItem(string $id, ?Model\Workspace $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchWorkspaceItem($id, $requestBody), $fetch); + } + + /** + * Replaces the Workspace resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException + */ + public function putWorkspaceItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutWorkspaceItem($id, $requestBody), $fetch); + } + + /** + * Retrieves a Workspace resource. + * + * @param string $id Workspace identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource($id, $queryParameters), $fetch); + } + + /** + * Retrieves a Workspace resource. + * + * @param string $id Workspace identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiWorkspacesUsersGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesUsersGetSubresourceWorkspaceSubresource($id, $queryParameters), $fetch); + } + + /** + * Retrieves the collection of Workspace resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getWorkspaceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceCollection($queryParameters), $fetch); + } + + /** + * Creates a Workspace resource. + * + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException + */ + public function postWorkspaceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostWorkspaceCollection($requestBody), $fetch); + } + + /** + * Creates a ConfigMap resource. + * + * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ConfigMap|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException + */ + public function postConfigMapCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostConfigMapCollection($requestBody), $fetch); + } + + /** + * Retrieves a ConfigMap resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ConfigMap|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException + */ + public function getConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigMapItem($id), $fetch); + } + + /** + * Adds a new Config Map value to the Config Map storage. + * + * @param string $id Config Map resource code + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ConfigMap[]|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException + */ + public function addValueConfigMapCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueConfigMapCollection($id, $requestBody), $fetch); + } + + /** + * Retrieves the collection of ConfigMap resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ConfigMap[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getConfigMapCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigMapCollection($queryParameters), $fetch); + } + + /** + * Creates a Environment resource. + * + * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException + */ + public function postEnvironmentCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostEnvironmentCollection($requestBody), $fetch); + } + + /** + * Retrieves a Environment resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException + */ + public function getEnvironmentItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentItem($id), $fetch); + } + + /** + * Retrieves the collection of Environment resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Environment[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getEnvironmentCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentCollection($queryParameters), $fetch); + } + + /** + * Creates a Secret resource. + * + * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException + */ + public function postSecretCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSecretCollection($requestBody), $fetch); + } + + /** + * Retrieves a Secret resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException + */ + public function getSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretItem($id), $fetch); + } + + /** + * Adds a new Secret value to the Secret storage. + * + * @param string $id Secret resource code + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException + */ + public function addValueSecretCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueSecretCollection($id, $requestBody), $fetch); + } + + /** + * Retrieves the collection of Secret resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretCollection($queryParameters), $fetch); + } + + /** + * Creates a VariableFromConfigMap resource. + * + * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface|null * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException */ - public function patchWorkspaceItem(string $id, \Gyroscops\Api\Model\Workspace $requestBody, string $fetch = self::FETCH_OBJECT) + public function postVariableFromConfigMapCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchWorkspaceItem($id, $requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromConfigMapCollection($requestBody), $fetch); } + /** - * Replaces the Workspace resource. + * Retrieves a VariableFromConfigMap resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException - * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException - * @throws \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException */ - public function putWorkspaceItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function getVariableFromConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutWorkspaceItem($id, $requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapItem($id), $fetch); } + /** - * Retrieves a Workspace resource. + * Retrieves the collection of VariableFromConfigMap resources. * - * @param string $id Workspace identifier * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromConfigMap[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getVariableFromConfigMapCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource($id, $queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapCollection($queryParameters), $fetch); } + /** - * Retrieves a Workspace resource. + * Creates a VariableFromSecret resource. * - * @param string $id Workspace identifier - * @param array $queryParameters { - * @var int $page The collection page number - * } - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException */ - public function apiWorkspacesUsersGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function postVariableFromSecretCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesUsersGetSubresourceWorkspaceSubresource($id, $queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromSecretCollection($requestBody), $fetch); } + /** - * Retrieves the collection of Workspace resources. + * Retrieves a VariableFromSecret resource. * - * @param array $queryParameters { - * @var int $page The collection page number - * } + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException */ - public function getWorkspaceCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretItem($id), $fetch); } + /** - * Creates a Workspace resource. + * Retrieves the collection of VariableFromSecret resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromSecret[]|\Psr\Http\Message\ResponseInterface|null */ - public function postWorkspaceCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function getVariableFromSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostWorkspaceCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretCollection($queryParameters), $fetch); } + /** - * Creates a Environment resource. + * Creates a AkeneoInstance resource. * - * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException + * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException */ - public function postEnvironmentCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postAkeneoInstanceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostEnvironmentCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoInstanceCollection($requestBody), $fetch); } + /** - * Retrieves a Environment resource. + * Check if an organization exists in the database. + * + * @param array $queryParameters { + * + * @var string $url + * @var int $page The collection page number + * } * - * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface|null */ - public function getEnvironmentItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getAkeneoInstanceByPimUrlAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceByPimUrlAkeneoInstanceCollection($queryParameters), $fetch); } + /** - * Retrieves the collection of Environment resources. + * Check if an organization exists in the database. * * @param array $queryParameters { + * + * @var string $url * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Environment[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface|null */ - public function getEnvironmentCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getAkeneoInstanceOauthAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceOauthAkeneoInstanceCollection($queryParameters), $fetch); } + /** - * Creates a Secret resource. + * Retrieves a AkeneoInstance resource. * - * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException */ - public function postSecretCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function getAkeneoInstanceItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSecretCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceItem($id), $fetch); } + /** - * Retrieves a Secret resource. + * Retrieves the collection of AkeneoInstance resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } * - * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface|null */ - public function getSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceCollection($queryParameters), $fetch); } + /** - * Adds a new Secret value to the Secret storage + * Creates a AkeneoLinkedAccount resource. * - * @param string $id Secret resource code - * @param null|\stdClass $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException + * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface|null * - * @return null|\Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException */ - public function addValueSecretCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) + public function postAkeneoLinkedAccountCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueSecretCollection($id, $requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoLinkedAccountCollection($requestBody), $fetch); } + /** - * Retrieves the collection of Secret resources. + * Check if an akeneo user exists in the database. * * @param array $queryParameters { + * * @var int $page The collection page number * } - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return null|\Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface - */ - public function getSecretCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretCollection($queryParameters), $fetch); - } - /** - * Creates a VariableFromConfigMap resource. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface|null */ - public function postVariableFromConfigMapCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function getAkeneoLinkedAccountAkeneoLinkedAccountCollection(string $akeneoUserId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromConfigMapCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountAkeneoLinkedAccountCollection($akeneoUserId, $queryParameters), $fetch); } + /** - * Retrieves a VariableFromConfigMap resource. + * Retrieves a AkeneoLinkedAccount resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException */ - public function getVariableFromConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getAkeneoLinkedAccountItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountItem($id), $fetch); } + /** - * Retrieves the collection of VariableFromConfigMap resources. + * Retrieves the collection of AkeneoLinkedAccount resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface|null */ - public function getVariableFromConfigMapCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getAkeneoLinkedAccountCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountCollection($queryParameters), $fetch); } + /** - * Creates a VariableFromSecret resource. + * Generate an Akeneo OAuth state. * - * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException + * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException */ - public function postVariableFromSecretCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postAkeneoOauthTokenCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromSecretCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoOauthTokenCollection($requestBody), $fetch); } + /** - * Retrieves a VariableFromSecret resource. + * Retrieves a AkeneoOauthToken resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException * - * @return null|\Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException */ - public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getAkeneoOauthTokenItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoOauthTokenItem($id), $fetch); } + /** - * Retrieves the collection of VariableFromSecret resources. + * Retrieves the collection of AkeneoOauthToken resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\VariableFromSecret[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getVariableFromSecretCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getAkeneoOauthTokenCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoOauthTokenCollection($queryParameters), $fetch); + } + + /** + * Generate an Akeneo OAuth token. + * + * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[]|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException + */ + public function putAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody), $fetch); } + /** * Removes the ReferralCode resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException */ public function deleteReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteReferralCodeItem($id), $fetch); } + /** * Retrieves a ReferralCode resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException */ public function getReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralCodeItem($id), $fetch); } + /** * Retrieves the collection of ReferralCode resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getReferralCodeCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getReferralCodeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralCodeCollection($queryParameters), $fetch); } + /** * Creates a ReferralCode resource. * - * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface */ - public function postReferralCodeCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postReferralCodeCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralCodeCollection($requestBody), $fetch); } + /** * Retrieves a OnPremiseRequest resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException */ public function getOnPremiseRequestItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOnPremiseRequestItem($id), $fetch); } + /** * Retrieves the collection of OnPremiseRequest resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getOnPremiseRequestCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getOnPremiseRequestCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOnPremiseRequestCollection($queryParameters), $fetch); } + /** * Creates a OnPremiseRequest resource. * - * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface */ - public function postOnPremiseRequestCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postOnPremiseRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOnPremiseRequestCollection($requestBody), $fetch); } + /** * Retrieves a ReferralRequest resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException */ public function getReferralRequestItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralRequestItem($id), $fetch); } + /** - * Accepts a referral request + * Accepts a referral request. + * + * @param string $id Resource identifier + * @param null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null * - * @param string $id Resource identifier - * @param null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemBadRequestException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface */ public function acceptReferralRequestReferralRequestItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AcceptReferralRequestReferralRequestItem($id, $requestBody), $fetch); } + /** - * Rejects a referral request + * Rejects a referral request. + * + * @param string $id Resource identifier + * @param null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null * - * @param string $id Resource identifier - * @param null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemBadRequestException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface */ public function rejectReferralRequestReferralRequestItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RejectReferralRequestReferralRequestItem($id, $requestBody), $fetch); } + /** * Creates a ReferralRequest resource. * - * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface */ - public function postReferralRequestCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postReferralRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralRequestCollection($requestBody), $fetch); } + /** * Retrieves the collection of ReferralRequest resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getReferralRequestCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getReferralRequestCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralRequestCollection($queryParameters), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ActionRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ActionRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException */ public function getActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionItem($id), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Action identifier + * @param string $id Action identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiActionsOrganizationGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsOrganizationGetSubresourceActionSubresource($id), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Action identifier + * @param string $id Action identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiActionsOwnerGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsOwnerGetSubresourceActionSubresource($id), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Action identifier + * @param string $id Action identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiActionsWorkspaceGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsWorkspaceGetSubresourceActionSubresource($id), $fetch); } + /** * Retrieves the collection of Action resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ActionRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ActionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getActionCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getActionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionPipelineJob resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException */ public function getExecutionPipelineJobItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineJobItem($id), $fetch); } + /** * Retrieves a ExecutionPipelineJob resource. * - * @param string $id ExecutionPipelineJob identifier - * @param array $queryParameters { + * @param string $id ExecutionPipelineJob identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionPipelineJob resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionPipelineJobCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionPipelineJobCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineJobCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionAction resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException */ public function getExecutionActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionActionItem($id), $fetch); } + /** * Retrieves a ExecutionPipeline resource. * - * @param string $id ExecutionPipeline identifier - * @param array $queryParameters { + * @param string $id ExecutionPipeline identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionPipeline resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipeline[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionPipelineCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param string $jobs ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflow identifier + * @param string $jobs ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource(string $id, string $jobs, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource($id, $jobs), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param string $jobs ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflow identifier + * @param string $jobs ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource(string $id, string $jobs, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource($id, $jobs), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param array $queryParameters { + * @param string $id ExecutionWorkflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionWorkflow resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflow[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionWorkflowCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionPipelineStep resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException */ public function getExecutionPipelineStepItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineStepItem($id), $fetch); } + /** * Retrieves a ExecutionPipeline resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException */ public function getExecutionPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineItem($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJobAction resource. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface|null + * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface */ public function getExecutionWorkflowJobActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobActionItem($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier - * @param string $pipeline ExecutionPipelineJob identifier - * @param array $queryParameters { + * @param string $id ExecutionWorkflowJob identifier + * @param string $pipeline ExecutionPipelineJob identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource(string $id, string $pipeline, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource(string $id, string $pipeline, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource($id, $pipeline, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionWorkflowJob resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionWorkflowJobCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionWorkflowJobCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException */ public function getExecutionWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobItem($id), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException */ public function getExecutionWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowItem($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException */ public function getExecutionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionItem($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsActionGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsActionGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsOrganizationGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsOrganizationGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsOwnerGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsOwnerGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsPipelineGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsPipelineGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsWorkflowGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier - * @param string $workflow ExecutionWorkflow identifier - * @param array $queryParameters { + * @param string $id Execution identifier + * @param string $workflow ExecutionWorkflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(string $id, string $workflow, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(string $id, string $workflow, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource($id, $workflow, $queryParameters), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsWorkspaceGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkspaceGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves the collection of Execution resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionCollection($queryParameters), $fetch); } + /** - * Declares a pipeline execution + * Declares a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function declareExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function declareExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareExecutionExecutionCollection($requestBody), $fetch); } + /** - * Finishes a pipeline execution + * Finishes a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function finishExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function finishExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\FinishExecutionExecutionCollection($requestBody), $fetch); } + /** - * Interrupts a pipeline execution + * Interrupts a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function interruptExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function interruptExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\InterruptExecutionExecutionCollection($requestBody), $fetch); } + /** - * Resumes a pipeline execution + * Resumes a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function resumeExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function resumeExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ResumeExecutionExecutionCollection($requestBody), $fetch); } + /** - * Starts a pipeline execution + * Starts a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function startExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function startExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\StartExecutionExecutionCollection($requestBody), $fetch); } + /** - * Terminates a pipeline execution + * Terminates a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function terminateExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function terminateExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\TerminateExecutionExecutionCollection($requestBody), $fetch); } + /** - * Updates a pipeline execution state + * Updates a pipeline execution state. + * + * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function updateExecutionStateExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function updateExecutionStateExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\UpdateExecutionStateExecutionCollection($requestBody), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource($id), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource($id), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource($id), $fetch); } + /** * Retrieves the collection of PipelineStepProbe resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineStepProbeCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineStepProbeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepProbeCollection($queryParameters), $fetch); } + /** * Retrieves a PipelineStepProbe resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStepProbe|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException */ public function getPipelineStepProbeItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepProbeItem($id), $fetch); } + /** * Retrieves a PipelineStep resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineStep|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStep|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException */ public function getPipelineStepItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepItem($id), $fetch); } + /** * Retrieves a PipelineStep resource. * - * @param string $id PipelineStep identifier - * @param array $queryParameters { + * @param string $id PipelineStep identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelineStepsProbesGetSubresourcePipelineStepSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiPipelineStepsProbesGetSubresourcePipelineStepSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of PipelineStep resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineStepCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineStepCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepCollection($queryParameters), $fetch); } + /** - * Deletes a pipeline + * Deletes a pipeline. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException */ public function deletePipelinePipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelinePipelineItem($id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException */ public function getPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineItem($id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier - * @param array $queryParameters { + * @param string $id Pipeline identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesCompilationsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelinesOrganizationGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOrganizationGetSubresourcePipelineSubresource($id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelinesOwnerGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOwnerGetSubresourcePipelineSubresource($id), $fetch); } + /** - * Removes a step from a pipeline + * Removes a step from a pipeline. * - * @param string $code Step resource code - * @param string $id Resource identifier + * @param string $code Step resource code + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException */ public function deletePipelineStepPipelineItem(string $code, string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelineStepPipelineItem($code, $id), $fetch); } + /** - * Removes a probe from a step + * Removes a probe from a step. * - * @param string $code Step resource code - * @param string $probeCode Probe resource code + * @param string $code Step resource code + * @param string $probeCode Probe resource code * @param string $probeLabel Probe resource code - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @return null|\Psr\Http\Message\ResponseInterface + * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException */ public function removePipelineStepProbePipelineItem(string $code, string $probeCode, string $probeLabel, string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemovePipelineStepProbePipelineItem($code, $probeCode, $probeLabel, $id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelinesWorkspaceGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesWorkspaceGetSubresourcePipelineSubresource($id), $fetch); } + /** * Retrieves the collection of Pipeline resources. * * @param array $queryParameters { + * * @var int $page The collection page number - * @var string $code - * @var array $code[] + * @var string $code + * @var array $code[] * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCollection($queryParameters), $fetch); } + /** - * Declares a docker pipeline + * Declares a docker pipeline. + * + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function declarePipelinePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function declarePipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclarePipelinePipelineCollection($requestBody), $fetch); } + /** - * Adds PSR4 autoload composer to a pipeline + * Adds PSR4 autoload composer to a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function addComposerPipelinePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addComposerPipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerPipelinePipelineCollection($requestBody), $fetch); } + /** * Retrieves the collection of PipelineCompilation resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineCompilationCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineCompilationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCompilationCollection($queryParameters), $fetch); } + /** - * Creates a pipeline compilation + * Creates a pipeline compilation. + * + * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function pipelineCompilationPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function pipelineCompilationPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineCompilationPipelineCollection($requestBody), $fetch); } + /** - * Adds a step after another one in a pipeline + * Adds a step after another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function addAfterPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addAfterPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddAfterPipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Adds a step before another one in a pipeline + * Adds a step before another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function addBeforePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addBeforePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddBeforePipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Appends a step to a pipeline + * Appends a step to a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function appendPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function appendPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AppendPipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Moves a step after another one in a pipeline + * Moves a step after another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function moveAfterPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function moveAfterPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveAfterPipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Moves a step before another one in a pipeline + * Moves a step before another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function moveBeforePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function moveBeforePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveBeforePipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Adds a probe to a step + * Adds a probe to a step. + * + * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function addPipelineStepProbePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addPipelineStepProbePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddPipelineStepProbePipelineCollection($requestBody), $fetch); } + /** - * Reorganizes the steps of a pipeline according to a given order + * Reorganizes the steps of a pipeline according to a given order. + * + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function reorderPipelineStepsPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function reorderPipelineStepsPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReorderPipelineStepsPipelineCollection($requestBody), $fetch); } + /** - * Replaces a step by another one in a pipeline + * Replaces a step by another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null|\Psr\Http\Message\ResponseInterface */ - public function replacePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function replacePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReplacePipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Schedule a pipeline execution immediately + * Schedule a pipeline execution immediately. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|\Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|\Psr\Http\Message\ResponseInterface */ - public function scheduleImmediateScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleImmediateScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleImmediateScheduleCollection($requestBody), $fetch); } + /** - * Schedule an immediate pipeline execution + * Schedule an immediate pipeline execution. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|\Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|\Psr\Http\Message\ResponseInterface */ - public function scheduleOnceScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleOnceScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleOnceScheduleCollection($requestBody), $fetch); } + /** - * Schedule a recurring pipeline execution + * Schedule a recurring pipeline execution. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|\Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|\Psr\Http\Message\ResponseInterface */ - public function scheduleTimesScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleTimesScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleTimesScheduleCollection($requestBody), $fetch); } + /** - * Schedule a delayed pipeline execution + * Schedule a delayed pipeline execution. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|\Psr\Http\Message\ResponseInterface|null * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|\Psr\Http\Message\ResponseInterface */ - public function scheduleUntilScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleUntilScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleUntilScheduleCollection($requestBody), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Schedule|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Schedule|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException */ public function getScheduleItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetScheduleItem($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier - * @param array $queryParameters { + * @param string $id Schedule identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiSchedulesExecutionsGetSubresourceScheduleSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiSchedulesExecutionsGetSubresourceScheduleSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesExecutionsGetSubresourceScheduleSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesOrganizationGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesOrganizationGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesOwnerGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesOwnerGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesPipelineGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesPipelineGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier - * @param string $workflow Workflow identifier - * @param array $queryParameters { + * @param string $id Schedule identifier + * @param string $workflow Workflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiSchedulesWorkflowJobsGetSubresourceScheduleSubresource(string $id, string $workflow, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiSchedulesWorkflowJobsGetSubresourceScheduleSubresource(string $id, string $workflow, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource($id, $workflow, $queryParameters), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource(string $id, string $workflow, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource($id, $workflow), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource(string $id, string $workflow, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource($id, $workflow), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource(string $id, string $workflow, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource($id, $workflow), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkspaceGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkspaceGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves the collection of Schedule resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Schedule[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Schedule[]|\Psr\Http\Message\ResponseInterface|null */ - public function getScheduleCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getScheduleCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetScheduleCollection($queryParameters), $fetch); } + /** * Retrieves a WorkflowJobAction resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobAction|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException */ public function getWorkflowJobActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobActionItem($id), $fetch); } + /** * Retrieves a WorkflowJob resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException */ public function getWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobItem($id), $fetch); } + /** * Retrieves a WorkflowJobPipeline resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobPipeline|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobPipeline|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException */ public function getWorkflowJobPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobPipelineItem($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException */ public function getWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowItem($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier - * @param array $queryParameters { + * @param string $id Workflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiWorkflowsJobsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiWorkflowsJobsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsJobsGetSubresourceWorkflowSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier + * @param string $id Workflow identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiWorkflowsOrganizationGetSubresourceWorkflowSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier + * @param string $id Workflow identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiWorkflowsOwnerGetSubresourceWorkflowSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsOwnerGetSubresourceWorkflowSubresource($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier + * @param string $id Workflow identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiWorkflowsWorkspaceGetSubresourceWorkflowSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource($id), $fetch); } + /** * Retrieves the collection of Workflow resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getWorkflowCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowCollection($queryParameters), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineCompilation|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineCompilation|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException */ public function getPipelineCompilationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCompilationItem($id), $fetch); } - public static function create($httpClient = null, array $additionalPlugins = array(), array $additionalNormalizers = array()) + + public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) { if (null === $httpClient) { $httpClient = \Http\Discovery\Psr18ClientDiscovery::find(); - $plugins = array(); - if (count($additionalPlugins) > 0) { + $plugins = []; + if (\count($additionalPlugins) > 0) { $plugins = array_merge($plugins, $additionalPlugins); } $httpClient = new \Http\Client\Common\PluginClient($httpClient, $plugins); } $requestFactory = \Http\Discovery\Psr17FactoryDiscovery::findRequestFactory(); $streamFactory = \Http\Discovery\Psr17FactoryDiscovery::findStreamFactory(); - $normalizers = array(new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new \Gyroscops\Api\Normalizer\JaneObjectNormalizer()); - if (count($additionalNormalizers) > 0) { + $normalizers = [new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new \Gyroscops\Api\Normalizer\JaneObjectNormalizer()]; + if (\count($additionalNormalizers) > 0) { $normalizers = array_merge($normalizers, $additionalNormalizers); } - $serializer = new \Symfony\Component\Serializer\Serializer($normalizers, array(new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode(array('json_decode_associative' => true))))); + $serializer = new \Symfony\Component\Serializer\Serializer($normalizers, [new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode(['json_decode_associative' => true]))]); + return new static($httpClient, $requestFactory, $serializer, $streamFactory); } -} \ No newline at end of file +} diff --git a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php index 20cae6a3..14cc1adc 100644 --- a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php +++ b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php @@ -1,50 +1,58 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/referral-request/{id}/accept'); + return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}/accept'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null + * * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemBadRequestException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { @@ -57,8 +65,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php index 3f69cbf1..d1304520 100644 --- a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/add-after'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php b/src/Endpoint/AddBeforePipelineStepPipelineCollection.php index 8b2d73dd..3a44cfd9 100644 --- a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/AddBeforePipelineStepPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/add-before'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddComposerPipelinePipelineCollection.php b/src/Endpoint/AddComposerPipelinePipelineCollection.php index ee726837..da87e7b6 100644 --- a/src/Endpoint/AddComposerPipelinePipelineCollection.php +++ b/src/Endpoint/AddComposerPipelinePipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/add-composer'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddPipelineStepProbePipelineCollection.php b/src/Endpoint/AddPipelineStepProbePipelineCollection.php index 32b7c39a..43a92de3 100644 --- a/src/Endpoint/AddPipelineStepProbePipelineCollection.php +++ b/src/Endpoint/AddPipelineStepProbePipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/probes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddValueConfigMapCollection.php b/src/Endpoint/AddValueConfigMapCollection.php new file mode 100644 index 00000000..b3a24dcf --- /dev/null +++ b/src/Endpoint/AddValueConfigMapCollection.php @@ -0,0 +1,72 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/config-map/{id}/put/'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\ConfigMap[]|null + * + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddValueSecretCollection.php b/src/Endpoint/AddValueSecretCollection.php index f2e316e0..3c2e793e 100644 --- a/src/Endpoint/AddValueSecretCollection.php +++ b/src/Endpoint/AddValueSecretCollection.php @@ -1,52 +1,60 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/secret/{id}/put/'); + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}/put/'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Secret[]|null + * * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\Secret[] */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } if (400 === $status) { @@ -56,8 +64,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php index 9e4d9d8c..ba22f291 100644 --- a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php index c9ae0b6f..4cba15fe 100644 --- a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php index 29c07d9c..71a2da9c 100644 --- a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php index 10e90004..b7d70409 100644 --- a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php +++ b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution-pipeline-job/{id}/steps'); + return str_replace(['{id}'], [$this->id], '/runtime/execution-pipeline-job/{id}/steps'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php index f4ab474b..8a5e4ef1 100644 --- a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php +++ b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/execution-pipeline/{id}/steps'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/execution-pipeline/{id}/steps'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php index ba214bbb..2de1ebed 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/execution-workflow-job/{id}/action'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/execution-workflow-job/{id}/action'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php index dbb05f8d..be83b61b 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php index fdd34775..c96b6353 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php @@ -1,66 +1,77 @@ id = $id; $this->pipeline = $pipeline; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{pipeline}'), array($this->id, $this->pipeline), '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline/steps'); + return str_replace(['{id}', '{pipeline}'], [$this->id, $this->pipeline], '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline/steps'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php index e6404c6a..f86ca8aa 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php @@ -1,15 +1,19 @@ id = $id; $this->jobs = $jobs; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{jobs}'), array($this->id, $this->jobs), '/runtime/execution/execution-workflow/{id}/job/{job}/action'); + return str_replace(['{id}', '{jobs}'], [$this->id, $this->jobs], '/runtime/execution/execution-workflow/{id}/job/{job}/action'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php index 58ee03fe..92ec85f8 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/execution-workflow/{id}/jobs'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/execution-workflow/{id}/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php index d556ca18..107f5d9a 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php @@ -1,15 +1,19 @@ id = $id; $this->jobs = $jobs; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{jobs}'), array($this->id, $this->jobs), '/runtime/execution/execution-workflow/{id}/job/{job}/pipeline'); + return str_replace(['{id}', '{jobs}'], [$this->id, $this->jobs], '/runtime/execution/execution-workflow/{id}/job/{job}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php index 3f5ad3a2..1852c923 100644 --- a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/action'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/action'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionAction + * @return \Gyroscops\Api\Model\ExecutionAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php index 578a1bcf..012efd2f 100644 --- a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php index 8d87d5a3..b3345ae8 100644 --- a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php index c1d0dceb..0b001388 100644 --- a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/pipeline'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipeline|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php index 3d4a0e88..f2c2061b 100644 --- a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/workflow'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/workflow'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflow|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php index d8717089..a5beb24f 100644 --- a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php @@ -1,66 +1,77 @@ id = $id; $this->workflow = $workflow; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/execution/{id}/workflow/jobs'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/execution/{id}/workflow/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php index 3faa3976..a8220241 100644 --- a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php new file mode 100644 index 00000000..7fce9dc5 --- /dev/null +++ b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php @@ -0,0 +1,74 @@ +id = $id; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}/options'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Option[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Option[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php index 1db61818..1b3021a3 100644 --- a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/authorizations'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/authorizations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php index 0d3264ab..aea51a28 100644 --- a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/external-collaborators'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/external-collaborators'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php index 4f233bd9..3e2e216e 100644 --- a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/users'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/users'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php index 4a7f0395..ba103f15 100644 --- a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/workspaces'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/workspaces'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace[] + * @return \Gyroscops\Api\Model\Workspace[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php index 66374b03..9e52a8e3 100644 --- a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline-compilation/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php index 6ae475ab..f72fd74e 100644 --- a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline-compilation/{id}/user'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/user'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php index 5319cb33..b7f7a8e1 100644 --- a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline-compilation/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php index c3ee0014..e7a507dd 100644 --- a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php +++ b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/step/{id}/probes'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/step/{id}/probes'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[] + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php index 2813a6f6..1213d9a6 100644 --- a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/compilations'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/compilations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[] + * @return \Gyroscops\Api\Model\PipelineCompilation[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php index e1be9f63..b49f75c4 100644 --- a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php index 64a69b30..34ddd7e9 100644 --- a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php index 4577d4ed..39c4246c 100644 --- a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php index 12a4bf4a..da46e8cc 100644 --- a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/executions'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/executions'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionRead[] + * @return \Gyroscops\Api\Model\ExecutionRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php index 2dc7c412..abc726ec 100644 --- a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php index 99c893fe..32bc9f93 100644 --- a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php index 4904adde..c62119e6 100644 --- a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/pipeline'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineRead + * @return \Gyroscops\Api\Model\PipelineRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php index 74870c62..2c297965 100644 --- a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/workflow'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/workflow'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowRead + * @return \Gyroscops\Api\Model\WorkflowRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php index 22ba0906..578d28ba 100644 --- a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php @@ -1,66 +1,77 @@ id = $id; $this->workflow = $workflow; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/jobs'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[] + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php index 8e25f8ac..0cc1444a 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php @@ -1,15 +1,19 @@ id = $id; $this->workflow = $workflow; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/organization'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php index 79963973..31d108fb 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php @@ -1,15 +1,19 @@ id = $id; $this->workflow = $workflow; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/owner'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php index 29b42aca..28f7988e 100644 --- a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php @@ -1,15 +1,19 @@ id = $id; $this->workflow = $workflow; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/workspace'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php index 79c05b40..169a4ee2 100644 --- a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php new file mode 100644 index 00000000..a4b16960 --- /dev/null +++ b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php @@ -0,0 +1,58 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscriptions/{id}/offer'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php new file mode 100644 index 00000000..995d66fc --- /dev/null +++ b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php @@ -0,0 +1,74 @@ +id = $id; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscriptions/{id}/options'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\SubscriptionOption[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOption[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php new file mode 100644 index 00000000..b5a8b835 --- /dev/null +++ b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php @@ -0,0 +1,58 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscriptions/{id}/organization'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Organization|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php index a4d14311..cc5f47cf 100644 --- a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php +++ b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}/authorizations'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}/authorizations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php index 19a13342..af37eefa 100644 --- a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/jobs'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[] + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php index 8d5ea234..b749a584 100644 --- a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php index c132aff8..2159209e 100644 --- a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php index 85329365..dcbc8801 100644 --- a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php index 0e54089c..143648fb 100644 --- a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}/authorizations'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}/authorizations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php index f8149652..f9f08466 100644 --- a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php @@ -1,63 +1,74 @@ id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}/users'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}/users'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AppendPipelineStepPipelineCollection.php b/src/Endpoint/AppendPipelineStepPipelineCollection.php index f59d3ec0..5d99543d 100644 --- a/src/Endpoint/AppendPipelineStepPipelineCollection.php +++ b/src/Endpoint/AppendPipelineStepPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/append'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ChangePasswordUserItem.php b/src/Endpoint/ChangePasswordUserItem.php index deabbfcf..d1aa3959 100644 --- a/src/Endpoint/ChangePasswordUserItem.php +++ b/src/Endpoint/ChangePasswordUserItem.php @@ -1,53 +1,61 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}/change-password'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}/change-password'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserUserChangePasswordInput) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\User|null + * * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\User */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -60,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeclareExecutionExecutionCollection.php b/src/Endpoint/DeclareExecutionExecutionCollection.php index 2d448f07..40f4cade 100644 --- a/src/Endpoint/DeclareExecutionExecutionCollection.php +++ b/src/Endpoint/DeclareExecutionExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/declare'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeclarePipelinePipelineCollection.php b/src/Endpoint/DeclarePipelinePipelineCollection.php index c7caae97..ff51ff86 100644 --- a/src/Endpoint/DeclarePipelinePipelineCollection.php +++ b/src/Endpoint/DeclarePipelinePipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteOfferItem.php b/src/Endpoint/DeleteOfferItem.php new file mode 100644 index 00000000..5afd1620 --- /dev/null +++ b/src/Endpoint/DeleteOfferItem.php @@ -0,0 +1,56 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteOrganizationItem.php b/src/Endpoint/DeleteOrganizationItem.php index f2e20075..48e1e191 100644 --- a/src/Endpoint/DeleteOrganizationItem.php +++ b/src/Endpoint/DeleteOrganizationItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeletePipelinePipelineItem.php b/src/Endpoint/DeletePipelinePipelineItem.php index eac420ae..e260e388 100644 --- a/src/Endpoint/DeletePipelinePipelineItem.php +++ b/src/Endpoint/DeletePipelinePipelineItem.php @@ -1,12 +1,16 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeletePipelineStepPipelineItem.php b/src/Endpoint/DeletePipelineStepPipelineItem.php index 43ec2aec..44b2e3bd 100644 --- a/src/Endpoint/DeletePipelineStepPipelineItem.php +++ b/src/Endpoint/DeletePipelineStepPipelineItem.php @@ -1,41 +1,46 @@ code = $code; $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{code}', '{id}'), array($this->code, $this->id), '/runtime/pipeline/{id}/step/{code}'); + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/pipeline/{id}/step/{code}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -46,8 +51,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteReferralCodeItem.php b/src/Endpoint/DeleteReferralCodeItem.php index ee720cc1..18ff24ee 100644 --- a/src/Endpoint/DeleteReferralCodeItem.php +++ b/src/Endpoint/DeleteReferralCodeItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/code/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/code/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteSubscriptionItem.php b/src/Endpoint/DeleteSubscriptionItem.php new file mode 100644 index 00000000..e6e0d5b0 --- /dev/null +++ b/src/Endpoint/DeleteSubscriptionItem.php @@ -0,0 +1,56 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteUserAuthorizationItem.php b/src/Endpoint/DeleteUserAuthorizationItem.php index 024e191c..5896c3f3 100644 --- a/src/Endpoint/DeleteUserAuthorizationItem.php +++ b/src/Endpoint/DeleteUserAuthorizationItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteUserItem.php b/src/Endpoint/DeleteUserItem.php index bdcece12..d558c3c7 100644 --- a/src/Endpoint/DeleteUserItem.php +++ b/src/Endpoint/DeleteUserItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteWorkspaceItem.php b/src/Endpoint/DeleteWorkspaceItem.php index 4a92ec2c..f98d7fea 100644 --- a/src/Endpoint/DeleteWorkspaceItem.php +++ b/src/Endpoint/DeleteWorkspaceItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/FinishExecutionExecutionCollection.php b/src/Endpoint/FinishExecutionExecutionCollection.php index 60e3d9d7..53f674e3 100644 --- a/src/Endpoint/FinishExecutionExecutionCollection.php +++ b/src/Endpoint/FinishExecutionExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/finish'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetActionCollection.php b/src/Endpoint/GetActionCollection.php index b7b3354e..34e3c64e 100644 --- a/src/Endpoint/GetActionCollection.php +++ b/src/Endpoint/GetActionCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/actions'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ActionRead[] + * @return \Gyroscops\Api\Model\ActionRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetActionItem.php b/src/Endpoint/GetActionItem.php index 23c891d8..7653a74f 100644 --- a/src/Endpoint/GetActionItem.php +++ b/src/Endpoint/GetActionItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException + * @return \Gyroscops\Api\Model\ActionRead|null * - * @return null|\Gyroscops\Api\Model\ActionRead + * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php new file mode 100644 index 00000000..10fe67d2 --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php @@ -0,0 +1,73 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instance/from-url'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['url', 'page']); + $optionsResolver->setRequired(['url']); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('url', ['string']); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceCollection.php new file mode 100644 index 00000000..16e23aaf --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instances'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoInstanceItem.php b/src/Endpoint/GetAkeneoInstanceItem.php new file mode 100644 index 00000000..68ee2ce7 --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceItem.php @@ -0,0 +1,63 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/gateway/akeneo/instance/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance|null + * + * @throws \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php new file mode 100644 index 00000000..f0a14e4a --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php @@ -0,0 +1,73 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instance/oauth-state'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['url', 'page']); + $optionsResolver->setRequired(['url']); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('url', ['string']); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php new file mode 100644 index 00000000..dba41a6e --- /dev/null +++ b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php @@ -0,0 +1,73 @@ +akeneoUserId = $akeneoUserId; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{akeneoUserId}'], [$this->akeneoUserId], '/gateway/akeneo/linked-account/{akeneoUserId}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountCollection.php new file mode 100644 index 00000000..17938fec --- /dev/null +++ b/src/Endpoint/GetAkeneoLinkedAccountCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/linked-accounts'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoLinkedAccountItem.php b/src/Endpoint/GetAkeneoLinkedAccountItem.php new file mode 100644 index 00000000..e39ec1c1 --- /dev/null +++ b/src/Endpoint/GetAkeneoLinkedAccountItem.php @@ -0,0 +1,63 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/gateway/akeneo/linked-account/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|null + * + * @throws \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoOauthTokenCollection.php b/src/Endpoint/GetAkeneoOauthTokenCollection.php new file mode 100644 index 00000000..05c40a94 --- /dev/null +++ b/src/Endpoint/GetAkeneoOauthTokenCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/oauth/states'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoOauthTokenItem.php b/src/Endpoint/GetAkeneoOauthTokenItem.php new file mode 100644 index 00000000..e691b562 --- /dev/null +++ b/src/Endpoint/GetAkeneoOauthTokenItem.php @@ -0,0 +1,63 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/gateway/akeneo/oauth/state/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead|null + * + * @throws \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetConfigMapCollection.php b/src/Endpoint/GetConfigMapCollection.php new file mode 100644 index 00000000..ae6d1f47 --- /dev/null +++ b/src/Endpoint/GetConfigMapCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/environment/config-maps'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\ConfigMap[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetConfigMapItem.php b/src/Endpoint/GetConfigMapItem.php new file mode 100644 index 00000000..c5fc180e --- /dev/null +++ b/src/Endpoint/GetConfigMapItem.php @@ -0,0 +1,63 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/config-map/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\ConfigMap|null + * + * @throws \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetEnvironmentCollection.php b/src/Endpoint/GetEnvironmentCollection.php index 89542ac0..afed130c 100644 --- a/src/Endpoint/GetEnvironmentCollection.php +++ b/src/Endpoint/GetEnvironmentCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/environments'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Environment[] + * @return \Gyroscops\Api\Model\Environment[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetEnvironmentItem.php b/src/Endpoint/GetEnvironmentItem.php index 0fb034eb..5e692328 100644 --- a/src/Endpoint/GetEnvironmentItem.php +++ b/src/Endpoint/GetEnvironmentItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/environment/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/environment/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException + * @return \Gyroscops\Api\Model\Environment|null * - * @return null|\Gyroscops\Api\Model\Environment + * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionActionItem.php b/src/Endpoint/GetExecutionActionItem.php index fe575ded..e3766142 100644 --- a/src/Endpoint/GetExecutionActionItem.php +++ b/src/Endpoint/GetExecutionActionItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionAction|null * - * @return null|\Gyroscops\Api\Model\ExecutionAction + * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionCollection.php b/src/Endpoint/GetExecutionCollection.php index d3af923a..263a588f 100644 --- a/src/Endpoint/GetExecutionCollection.php +++ b/src/Endpoint/GetExecutionCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionRead[] + * @return \Gyroscops\Api\Model\ExecutionRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionItem.php b/src/Endpoint/GetExecutionItem.php index 5d2a8e79..b7bd1cf0 100644 --- a/src/Endpoint/GetExecutionItem.php +++ b/src/Endpoint/GetExecutionItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionRead|null * - * @return null|\Gyroscops\Api\Model\ExecutionRead + * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineCollection.php b/src/Endpoint/GetExecutionPipelineCollection.php index c7caecfc..55ce9981 100644 --- a/src/Endpoint/GetExecutionPipelineCollection.php +++ b/src/Endpoint/GetExecutionPipelineCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution/execution-pipelines'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline[] + * @return \Gyroscops\Api\Model\ExecutionPipeline[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineItem.php b/src/Endpoint/GetExecutionPipelineItem.php index 13896af3..1bbc6680 100644 --- a/src/Endpoint/GetExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionPipelineItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionPipeline|null * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline + * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineJobCollection.php b/src/Endpoint/GetExecutionPipelineJobCollection.php index 4685ce60..4a87da00 100644 --- a/src/Endpoint/GetExecutionPipelineJobCollection.php +++ b/src/Endpoint/GetExecutionPipelineJobCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution-pipeline-jobs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob[] + * @return \Gyroscops\Api\Model\ExecutionPipelineJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineJobItem.php b/src/Endpoint/GetExecutionPipelineJobItem.php index 7a2584ba..f8afb481 100644 --- a/src/Endpoint/GetExecutionPipelineJobItem.php +++ b/src/Endpoint/GetExecutionPipelineJobItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution-pipeline-job/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution-pipeline-job/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|null * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob + * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineStepItem.php b/src/Endpoint/GetExecutionPipelineStepItem.php index f82ea4e1..d1a77232 100644 --- a/src/Endpoint/GetExecutionPipelineStepItem.php +++ b/src/Endpoint/GetExecutionPipelineStepItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/pipeline/step/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/pipeline/step/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionPipelineStep|null * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep + * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowCollection.php b/src/Endpoint/GetExecutionWorkflowCollection.php index 6f760a4f..de818485 100644 --- a/src/Endpoint/GetExecutionWorkflowCollection.php +++ b/src/Endpoint/GetExecutionWorkflowCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution/execution-workflows'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow[] + * @return \Gyroscops\Api\Model\ExecutionWorkflow[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowItem.php b/src/Endpoint/GetExecutionWorkflowItem.php index 4945f47b..bd5e2b03 100644 --- a/src/Endpoint/GetExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionWorkflowItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionWorkflow|null * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow + * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowJobActionItem.php b/src/Endpoint/GetExecutionWorkflowJobActionItem.php index 173770f8..7690dd7d 100644 --- a/src/Endpoint/GetExecutionWorkflowJobActionItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobActionItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|null * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction + * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowJobCollection.php b/src/Endpoint/GetExecutionWorkflowJobCollection.php index 6c4967d3..ec009196 100644 --- a/src/Endpoint/GetExecutionWorkflowJobCollection.php +++ b/src/Endpoint/GetExecutionWorkflowJobCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution/workflow/execution-workflow-jobs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowJobItem.php b/src/Endpoint/GetExecutionWorkflowJobItem.php index fa676dd6..c0f9902d 100644 --- a/src/Endpoint/GetExecutionWorkflowJobItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/job/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/job/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob|null * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob + * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetForgotPassword.php b/src/Endpoint/GetForgotPassword.php index 477dc77c..ca1b9c76 100644 --- a/src/Endpoint/GetForgotPassword.php +++ b/src/Endpoint/GetForgotPassword.php @@ -1,54 +1,56 @@ token = $token; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{token}'), array($this->token), '/authentication/forgot-password/{token}'); + return str_replace(['{token}'], [$this->token], '/authentication/forgot-password/{token}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOfferCollection.php b/src/Endpoint/GetOfferCollection.php new file mode 100644 index 00000000..89de2598 --- /dev/null +++ b/src/Endpoint/GetOfferCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/authentication/offers'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetOfferItem.php b/src/Endpoint/GetOfferItem.php new file mode 100644 index 00000000..608cc1d3 --- /dev/null +++ b/src/Endpoint/GetOfferItem.php @@ -0,0 +1,63 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer|null + * + * @throws \Gyroscops\Api\Exception\GetOfferItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetOnPremiseRequestCollection.php b/src/Endpoint/GetOnPremiseRequestCollection.php index 4cb41b48..27bee5bb 100644 --- a/src/Endpoint/GetOnPremiseRequestCollection.php +++ b/src/Endpoint/GetOnPremiseRequestCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/referral/on-premise-requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[] + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOnPremiseRequestItem.php b/src/Endpoint/GetOnPremiseRequestItem.php index 45bbcf2b..35c8a8e4 100644 --- a/src/Endpoint/GetOnPremiseRequestItem.php +++ b/src/Endpoint/GetOnPremiseRequestItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/on-premise-request/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/on-premise-request/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|null * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead + * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOrganizationCollection.php b/src/Endpoint/GetOrganizationCollection.php index aa5776e1..4f274a77 100644 --- a/src/Endpoint/GetOrganizationCollection.php +++ b/src/Endpoint/GetOrganizationCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/organizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization[] + * @return \Gyroscops\Api\Model\Organization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOrganizationItem.php b/src/Endpoint/GetOrganizationItem.php index b66bdac5..f9729066 100644 --- a/src/Endpoint/GetOrganizationItem.php +++ b/src/Endpoint/GetOrganizationItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException + * @return \Gyroscops\Api\Model\Organization|null * - * @return null|\Gyroscops\Api\Model\Organization + * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineCollection.php b/src/Endpoint/GetPipelineCollection.php index 007ecfe5..8fbc790f 100644 --- a/src/Endpoint/GetPipelineCollection.php +++ b/src/Endpoint/GetPipelineCollection.php @@ -1,64 +1,75 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page', 'code', 'code[]')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); - $optionsResolver->setAllowedTypes('code', array('string')); - $optionsResolver->setAllowedTypes('code[]', array('array')); + $optionsResolver->setDefined(['page', 'code', 'code[]']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + $optionsResolver->setAllowedTypes('code', ['string']); + $optionsResolver->setAllowedTypes('code[]', ['array']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineRead[] + * @return \Gyroscops\Api\Model\PipelineRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineCompilationCollection.php b/src/Endpoint/GetPipelineCompilationCollection.php index 2137f52c..03b6ae66 100644 --- a/src/Endpoint/GetPipelineCompilationCollection.php +++ b/src/Endpoint/GetPipelineCompilationCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/compilation'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[] + * @return \Gyroscops\Api\Model\PipelineCompilation[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineCompilationItem.php b/src/Endpoint/GetPipelineCompilationItem.php index 5c0597dd..00df2f3b 100644 --- a/src/Endpoint/GetPipelineCompilationItem.php +++ b/src/Endpoint/GetPipelineCompilationItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtimepipeline/compilation/{id}'); + return str_replace(['{id}'], [$this->id], '/runtimepipeline/compilation/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException + * @return \Gyroscops\Api\Model\PipelineCompilation|null * - * @return null|\Gyroscops\Api\Model\PipelineCompilation + * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineItem.php b/src/Endpoint/GetPipelineItem.php index cdb03855..9151eba6 100644 --- a/src/Endpoint/GetPipelineItem.php +++ b/src/Endpoint/GetPipelineItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException + * @return \Gyroscops\Api\Model\PipelineRead|null * - * @return null|\Gyroscops\Api\Model\PipelineRead + * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepCollection.php b/src/Endpoint/GetPipelineStepCollection.php index 936e954c..faac34f6 100644 --- a/src/Endpoint/GetPipelineStepCollection.php +++ b/src/Endpoint/GetPipelineStepCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipeline/steps'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineStep[] + * @return \Gyroscops\Api\Model\PipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepItem.php b/src/Endpoint/GetPipelineStepItem.php index 49718c0a..88e65e3a 100644 --- a/src/Endpoint/GetPipelineStepItem.php +++ b/src/Endpoint/GetPipelineStepItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/step/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/step/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException + * @return \Gyroscops\Api\Model\PipelineStep|null * - * @return null|\Gyroscops\Api\Model\PipelineStep + * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepProbeCollection.php b/src/Endpoint/GetPipelineStepProbeCollection.php index 4e9159bb..3e2e9571 100644 --- a/src/Endpoint/GetPipelineStepProbeCollection.php +++ b/src/Endpoint/GetPipelineStepProbeCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipeline-step-probes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[] + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepProbeItem.php b/src/Endpoint/GetPipelineStepProbeItem.php index 69ae2a26..e21c30bc 100644 --- a/src/Endpoint/GetPipelineStepProbeItem.php +++ b/src/Endpoint/GetPipelineStepProbeItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/step/probe/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/step/probe/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException + * @return \Gyroscops\Api\Model\PipelineStepProbe|null * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe + * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralCodeCollection.php b/src/Endpoint/GetReferralCodeCollection.php index e0bdeb5c..6f92884d 100644 --- a/src/Endpoint/GetReferralCodeCollection.php +++ b/src/Endpoint/GetReferralCodeCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/referral/codes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[] + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralCodeItem.php b/src/Endpoint/GetReferralCodeItem.php index 669d0faf..1a0476e9 100644 --- a/src/Endpoint/GetReferralCodeItem.php +++ b/src/Endpoint/GetReferralCodeItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/code/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/code/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|null * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead + * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralRequestCollection.php b/src/Endpoint/GetReferralRequestCollection.php index c5fcbea0..cc231f81 100644 --- a/src/Endpoint/GetReferralRequestCollection.php +++ b/src/Endpoint/GetReferralRequestCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/referral/requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[] + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralRequestItem.php b/src/Endpoint/GetReferralRequestItem.php index 40d48486..7bfb071c 100644 --- a/src/Endpoint/GetReferralRequestItem.php +++ b/src/Endpoint/GetReferralRequestItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/referral-request/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead + * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetScheduleCollection.php b/src/Endpoint/GetScheduleCollection.php index 557465e1..aef56538 100644 --- a/src/Endpoint/GetScheduleCollection.php +++ b/src/Endpoint/GetScheduleCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedules'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Schedule[] + * @return \Gyroscops\Api\Model\Schedule[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Schedule[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetScheduleItem.php b/src/Endpoint/GetScheduleItem.php index 0c89df60..01ced585 100644 --- a/src/Endpoint/GetScheduleItem.php +++ b/src/Endpoint/GetScheduleItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException + * @return \Gyroscops\Api\Model\Schedule|null * - * @return null|\Gyroscops\Api\Model\Schedule + * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Schedule', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetScheduleItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetSecretCollection.php b/src/Endpoint/GetSecretCollection.php index 5eb23a51..a6dbc620 100644 --- a/src/Endpoint/GetSecretCollection.php +++ b/src/Endpoint/GetSecretCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/secrets'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Secret[] + * @return \Gyroscops\Api\Model\Secret[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetSecretItem.php b/src/Endpoint/GetSecretItem.php index 19f40481..891ff650 100644 --- a/src/Endpoint/GetSecretItem.php +++ b/src/Endpoint/GetSecretItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException + * @return \Gyroscops\Api\Model\Secret|null * - * @return null|\Gyroscops\Api\Model\Secret + * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetSecretItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetSubscriptionCollection.php b/src/Endpoint/GetSubscriptionCollection.php new file mode 100644 index 00000000..432e9c14 --- /dev/null +++ b/src/Endpoint/GetSubscriptionCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/authentication/subscriptions'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Subscription[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetSubscriptionItem.php b/src/Endpoint/GetSubscriptionItem.php new file mode 100644 index 00000000..e6b799b0 --- /dev/null +++ b/src/Endpoint/GetSubscriptionItem.php @@ -0,0 +1,63 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Subscription|null + * + * @throws \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetUserAuthorizationCollection.php b/src/Endpoint/GetUserAuthorizationCollection.php index 1d482b1e..cb70bdc0 100644 --- a/src/Endpoint/GetUserAuthorizationCollection.php +++ b/src/Endpoint/GetUserAuthorizationCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/user-authorizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetUserAuthorizationItem.php b/src/Endpoint/GetUserAuthorizationItem.php index 7e778483..c455357e 100644 --- a/src/Endpoint/GetUserAuthorizationItem.php +++ b/src/Endpoint/GetUserAuthorizationItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException + * @return \Gyroscops\Api\Model\UserAuthorization|null * - * @return null|\Gyroscops\Api\Model\UserAuthorization + * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetUserCollection.php b/src/Endpoint/GetUserCollection.php index d95b16e3..03b92fa1 100644 --- a/src/Endpoint/GetUserCollection.php +++ b/src/Endpoint/GetUserCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/users'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetUserItem.php b/src/Endpoint/GetUserItem.php index 13539435..edcfbc7a 100644 --- a/src/Endpoint/GetUserItem.php +++ b/src/Endpoint/GetUserItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException + * @return \Gyroscops\Api\Model\User|null * - * @return null|\Gyroscops\Api\Model\User + * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromConfigMapCollection.php b/src/Endpoint/GetVariableFromConfigMapCollection.php index 3c5e20ed..e784043a 100644 --- a/src/Endpoint/GetVariableFromConfigMapCollection.php +++ b/src/Endpoint/GetVariableFromConfigMapCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-config-maps'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap[] + * @return \Gyroscops\Api\Model\VariableFromConfigMap[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromConfigMapItem.php b/src/Endpoint/GetVariableFromConfigMapItem.php index c2bf894f..76414046 100644 --- a/src/Endpoint/GetVariableFromConfigMapItem.php +++ b/src/Endpoint/GetVariableFromConfigMapItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/variable-from-config-map/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variable-from-config-map/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException + * @return \Gyroscops\Api\Model\VariableFromConfigMap|null * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap + * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromSecretCollection.php b/src/Endpoint/GetVariableFromSecretCollection.php index fd22d36e..e3046d8d 100644 --- a/src/Endpoint/GetVariableFromSecretCollection.php +++ b/src/Endpoint/GetVariableFromSecretCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-secrets'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\VariableFromSecret[] + * @return \Gyroscops\Api\Model\VariableFromSecret[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromSecretItem.php b/src/Endpoint/GetVariableFromSecretItem.php index 460c8f33..260ee057 100644 --- a/src/Endpoint/GetVariableFromSecretItem.php +++ b/src/Endpoint/GetVariableFromSecretItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/variable-from-secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variable-from-secret/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException + * @return \Gyroscops\Api\Model\VariableFromSecret|null * - * @return null|\Gyroscops\Api\Model\VariableFromSecret + * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowCollection.php b/src/Endpoint/GetWorkflowCollection.php index 5e9a096d..332d3291 100644 --- a/src/Endpoint/GetWorkflowCollection.php +++ b/src/Endpoint/GetWorkflowCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/workflows'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowRead[] + * @return \Gyroscops\Api\Model\WorkflowRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowItem.php b/src/Endpoint/GetWorkflowItem.php index 72330556..ed1122ca 100644 --- a/src/Endpoint/GetWorkflowItem.php +++ b/src/Endpoint/GetWorkflowItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException + * @return \Gyroscops\Api\Model\WorkflowRead|null * - * @return null|\Gyroscops\Api\Model\WorkflowRead + * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowJobActionItem.php b/src/Endpoint/GetWorkflowJobActionItem.php index 54ff7824..ae9519bf 100644 --- a/src/Endpoint/GetWorkflowJobActionItem.php +++ b/src/Endpoint/GetWorkflowJobActionItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException + * @return \Gyroscops\Api\Model\WorkflowJobAction|null * - * @return null|\Gyroscops\Api\Model\WorkflowJobAction + * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAction', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowJobItem.php b/src/Endpoint/GetWorkflowJobItem.php index bcf7529d..031aadaa 100644 --- a/src/Endpoint/GetWorkflowJobItem.php +++ b/src/Endpoint/GetWorkflowJobItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/job/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/job/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException + * @return \Gyroscops\Api\Model\WorkflowJobRead|null * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead + * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowJobPipelineItem.php b/src/Endpoint/GetWorkflowJobPipelineItem.php index 5ab1c2ee..4d09ecb2 100644 --- a/src/Endpoint/GetWorkflowJobPipelineItem.php +++ b/src/Endpoint/GetWorkflowJobPipelineItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException + * @return \Gyroscops\Api\Model\WorkflowJobPipeline|null * - * @return null|\Gyroscops\Api\Model\WorkflowJobPipeline + * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkspaceCollection.php b/src/Endpoint/GetWorkspaceCollection.php index bdbebac9..72f6ef71 100644 --- a/src/Endpoint/GetWorkspaceCollection.php +++ b/src/Endpoint/GetWorkspaceCollection.php @@ -1,60 +1,71 @@ queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/workspaces'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace[] + * @return \Gyroscops\Api\Model\Workspace[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkspaceItem.php b/src/Endpoint/GetWorkspaceItem.php index 51b47858..16e7c96e 100644 --- a/src/Endpoint/GetWorkspaceItem.php +++ b/src/Endpoint/GetWorkspaceItem.php @@ -1,10 +1,14 @@ id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException + * @return \Gyroscops\Api\Model\Workspace|null * - * @return null|\Gyroscops\Api\Model\Workspace + * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/InterruptExecutionExecutionCollection.php b/src/Endpoint/InterruptExecutionExecutionCollection.php index 09c44090..d7a06ec6 100644 --- a/src/Endpoint/InterruptExecutionExecutionCollection.php +++ b/src/Endpoint/InterruptExecutionExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/interrupt'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/MeUserCollection.php b/src/Endpoint/MeUserCollection.php index da1ae400..0057394e 100644 --- a/src/Endpoint/MeUserCollection.php +++ b/src/Endpoint/MeUserCollection.php @@ -1,40 +1,47 @@ array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php index 3e44d77a..472b51b7 100644 --- a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/move-after'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php b/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php index fa4bbaef..fe6900a6 100644 --- a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/move-before'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchOfferItem.php b/src/Endpoint/PatchOfferItem.php new file mode 100644 index 00000000..bfc96316 --- /dev/null +++ b/src/Endpoint/PatchOfferItem.php @@ -0,0 +1,76 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PATCH'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\Offer) { + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer|null + * + * @throws \Gyroscops\Api\Exception\PatchOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchOfferItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PatchOfferItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PatchOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PatchOrganizationItem.php b/src/Endpoint/PatchOrganizationItem.php index f89fb449..32fc0f64 100644 --- a/src/Endpoint/PatchOrganizationItem.php +++ b/src/Endpoint/PatchOrganizationItem.php @@ -1,53 +1,61 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Organization|null + * * @throws \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\Organization */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { @@ -60,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchSubscriptionItem.php b/src/Endpoint/PatchSubscriptionItem.php new file mode 100644 index 00000000..231fffc9 --- /dev/null +++ b/src/Endpoint/PatchSubscriptionItem.php @@ -0,0 +1,76 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PATCH'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Subscription|null + * + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PatchUserAuthorizationItem.php b/src/Endpoint/PatchUserAuthorizationItem.php index 7438be0d..f0175049 100644 --- a/src/Endpoint/PatchUserAuthorizationItem.php +++ b/src/Endpoint/PatchUserAuthorizationItem.php @@ -1,53 +1,61 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\UserAuthorization|null + * * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\UserAuthorization */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { @@ -60,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchUserItem.php b/src/Endpoint/PatchUserItem.php index 543fcbbc..3c531cb7 100644 --- a/src/Endpoint/PatchUserItem.php +++ b/src/Endpoint/PatchUserItem.php @@ -1,53 +1,61 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\User|null + * * @throws \Gyroscops\Api\Exception\PatchUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\User */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -60,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchWorkspaceItem.php b/src/Endpoint/PatchWorkspaceItem.php index bb18425f..f77ef26a 100644 --- a/src/Endpoint/PatchWorkspaceItem.php +++ b/src/Endpoint/PatchWorkspaceItem.php @@ -1,53 +1,61 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Workspace|null + * * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\Workspace */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { @@ -60,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PipelineCompilationPipelineCollection.php b/src/Endpoint/PipelineCompilationPipelineCollection.php index 9731b1a7..c4535f76 100644 --- a/src/Endpoint/PipelineCompilationPipelineCollection.php +++ b/src/Endpoint/PipelineCompilationPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/compile'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostAkeneoInstanceCollection.php b/src/Endpoint/PostAkeneoInstanceCollection.php new file mode 100644 index 00000000..45999f62 --- /dev/null +++ b/src/Endpoint/PostAkeneoInstanceCollection.php @@ -0,0 +1,76 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instance'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance|null + * + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostAkeneoLinkedAccountCollection.php b/src/Endpoint/PostAkeneoLinkedAccountCollection.php new file mode 100644 index 00000000..6aeaa8e0 --- /dev/null +++ b/src/Endpoint/PostAkeneoLinkedAccountCollection.php @@ -0,0 +1,76 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/gateway/akeneo/linked-account'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|null + * + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostAkeneoOauthTokenCollection.php b/src/Endpoint/PostAkeneoOauthTokenCollection.php new file mode 100644 index 00000000..a5e5476f --- /dev/null +++ b/src/Endpoint/PostAkeneoOauthTokenCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/gateway/akeneo/oauth/state'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return json_decode($body); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostConfigMapCollection.php b/src/Endpoint/PostConfigMapCollection.php new file mode 100644 index 00000000..44bc92b1 --- /dev/null +++ b/src/Endpoint/PostConfigMapCollection.php @@ -0,0 +1,76 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/environment/config-map'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\ConfigMap|null + * + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostCredentialsItem.php b/src/Endpoint/PostCredentialsItem.php index d63a9891..c2a8f605 100644 --- a/src/Endpoint/PostCredentialsItem.php +++ b/src/Endpoint/PostCredentialsItem.php @@ -1,52 +1,56 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/token'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\Credentials) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Token + * @return \Gyroscops\Api\Model\Token|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Token', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostEnvironmentCollection.php b/src/Endpoint/PostEnvironmentCollection.php index 86b43954..162bbae3 100644 --- a/src/Endpoint/PostEnvironmentCollection.php +++ b/src/Endpoint/PostEnvironmentCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/environment'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Environment) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Environment) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Environment|null + * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\Environment */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostForgotPassword.php b/src/Endpoint/PostForgotPassword.php index d90153b0..c992054d 100644 --- a/src/Endpoint/PostForgotPassword.php +++ b/src/Endpoint/PostForgotPassword.php @@ -1,40 +1,41 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/forgot-password/'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -45,8 +46,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostForgotPasswordToken.php b/src/Endpoint/PostForgotPasswordToken.php index 091cc29e..7be64275 100644 --- a/src/Endpoint/PostForgotPasswordToken.php +++ b/src/Endpoint/PostForgotPasswordToken.php @@ -1,44 +1,44 @@ token = $token; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{token}'), array($this->token), '/authentication/forgot-password/{token}'); + return str_replace(['{token}'], [$this->token], '/authentication/forgot-password/{token}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenBadRequestException * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -52,8 +52,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostOnPremiseRequestCollection.php b/src/Endpoint/PostOnPremiseRequestCollection.php index c7612191..ecd8875d 100644 --- a/src/Endpoint/PostOnPremiseRequestCollection.php +++ b/src/Endpoint/PostOnPremiseRequestCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/referral/on-premise-requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|null + * * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostOrganizationCollection.php b/src/Endpoint/PostOrganizationCollection.php index 693b1ce7..de35e6f9 100644 --- a/src/Endpoint/PostOrganizationCollection.php +++ b/src/Endpoint/PostOrganizationCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/organizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Organization|null + * * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\Organization */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostReferralCodeCollection.php b/src/Endpoint/PostReferralCodeCollection.php index ebcdaf65..ec39ac09 100644 --- a/src/Endpoint/PostReferralCodeCollection.php +++ b/src/Endpoint/PostReferralCodeCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/referral/codes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|null + * * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostReferralRequestCollection.php b/src/Endpoint/PostReferralRequestCollection.php index fba9807b..31116d5b 100644 --- a/src/Endpoint/PostReferralRequestCollection.php +++ b/src/Endpoint/PostReferralRequestCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/referral/referral-requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralRequestReferralRequestInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralRequestReferralRequestInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null + * * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostSecretCollection.php b/src/Endpoint/PostSecretCollection.php index 87dddffd..fe0b6c4e 100644 --- a/src/Endpoint/PostSecretCollection.php +++ b/src/Endpoint/PostSecretCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/secret'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Secret|null + * * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\Secret */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostSubscriptionCollection.php b/src/Endpoint/PostSubscriptionCollection.php new file mode 100644 index 00000000..ded741a9 --- /dev/null +++ b/src/Endpoint/PostSubscriptionCollection.php @@ -0,0 +1,76 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/authentication/subscription/{id}'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SubscriptionJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Subscription|null + * + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostUserAuthorizationCollection.php b/src/Endpoint/PostUserAuthorizationCollection.php index bac79458..7319b4f3 100644 --- a/src/Endpoint/PostUserAuthorizationCollection.php +++ b/src/Endpoint/PostUserAuthorizationCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/user-authorizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\UserAuthorization|null + * * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\UserAuthorization */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostUserCollection.php b/src/Endpoint/PostUserCollection.php index e691f424..0783d2cc 100644 --- a/src/Endpoint/PostUserCollection.php +++ b/src/Endpoint/PostUserCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/users'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\User|null + * * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\User */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostVariableFromConfigMapCollection.php b/src/Endpoint/PostVariableFromConfigMapCollection.php index e739d97f..834f8d47 100644 --- a/src/Endpoint/PostVariableFromConfigMapCollection.php +++ b/src/Endpoint/PostVariableFromConfigMapCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-config-map'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMapJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMap) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMap) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\VariableFromConfigMap|null + * * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostVariableFromSecretCollection.php b/src/Endpoint/PostVariableFromSecretCollection.php index e8a92e75..c7b66d22 100644 --- a/src/Endpoint/PostVariableFromSecretCollection.php +++ b/src/Endpoint/PostVariableFromSecretCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-secret'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecret) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecret) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\VariableFromSecret|null + * * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\VariableFromSecret */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostWorkspaceCollection.php b/src/Endpoint/PostWorkspaceCollection.php index d7f8e19e..14d2c620 100644 --- a/src/Endpoint/PostWorkspaceCollection.php +++ b/src/Endpoint/PostWorkspaceCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/workspaces'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Workspace|null + * * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\Workspace */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php new file mode 100644 index 00000000..939693ab --- /dev/null +++ b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return '/gateway/akeneo/oauth/token'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if (\is_array($this->body) && isset($this->body[0]) && $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if (\is_array($this->body) && isset($this->body[0]) && $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return json_decode($body); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PutAuthenticationToken.php b/src/Endpoint/PutAuthenticationToken.php index 7c0f30b8..a343125d 100644 --- a/src/Endpoint/PutAuthenticationToken.php +++ b/src/Endpoint/PutAuthenticationToken.php @@ -1,52 +1,54 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/token'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} - * - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutOfferItem.php b/src/Endpoint/PutOfferItem.php new file mode 100644 index 00000000..00326d1d --- /dev/null +++ b/src/Endpoint/PutOfferItem.php @@ -0,0 +1,83 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\OfferJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Offer) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Offer) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer|null + * + * @throws \Gyroscops\Api\Exception\PutOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutOfferItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutOfferItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PutOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PutOrganizationItem.php b/src/Endpoint/PutOrganizationItem.php index 68e34bea..93d8d608 100644 --- a/src/Endpoint/PutOrganizationItem.php +++ b/src/Endpoint/PutOrganizationItem.php @@ -1,59 +1,68 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Organization|null + * * @throws \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\Organization */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { @@ -66,8 +75,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutSubscriptionItem.php b/src/Endpoint/PutSubscriptionItem.php new file mode 100644 index 00000000..c64520c0 --- /dev/null +++ b/src/Endpoint/PutSubscriptionItem.php @@ -0,0 +1,83 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SubscriptionJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Subscription|null + * + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PutUserAuthorizationItem.php b/src/Endpoint/PutUserAuthorizationItem.php index 977f98b7..f987b269 100644 --- a/src/Endpoint/PutUserAuthorizationItem.php +++ b/src/Endpoint/PutUserAuthorizationItem.php @@ -1,59 +1,68 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\UserAuthorization|null + * * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\UserAuthorization */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { @@ -66,8 +75,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutUserItem.php b/src/Endpoint/PutUserItem.php index 5d6688a8..88b9da2f 100644 --- a/src/Endpoint/PutUserItem.php +++ b/src/Endpoint/PutUserItem.php @@ -1,59 +1,68 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\User|null + * * @throws \Gyroscops\Api\Exception\PutUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\User */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -66,8 +75,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutWorkspaceItem.php b/src/Endpoint/PutWorkspaceItem.php index 5692224c..469d53c4 100644 --- a/src/Endpoint/PutWorkspaceItem.php +++ b/src/Endpoint/PutWorkspaceItem.php @@ -1,59 +1,68 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\Workspace|null + * * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\Workspace */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { @@ -66,8 +75,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/RejectReferralRequestReferralRequestItem.php b/src/Endpoint/RejectReferralRequestReferralRequestItem.php index be8610b9..40218e41 100644 --- a/src/Endpoint/RejectReferralRequestReferralRequestItem.php +++ b/src/Endpoint/RejectReferralRequestReferralRequestItem.php @@ -1,50 +1,58 @@ id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/referral-request/{id}/reject'); + return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}/reject'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null + * * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemBadRequestException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { @@ -57,8 +65,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/RemovePipelineStepProbePipelineItem.php b/src/Endpoint/RemovePipelineStepProbePipelineItem.php index 354b37b3..e303b033 100644 --- a/src/Endpoint/RemovePipelineStepProbePipelineItem.php +++ b/src/Endpoint/RemovePipelineStepProbePipelineItem.php @@ -1,20 +1,24 @@ probe_label = $probeLabel; $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{code}', '{probe_code}', '{probe_label}', '{id}'), array($this->code, $this->probe_code, $this->probe_label, $this->id), '/runtime/pipeline/{id}/step/{code}/probes/{probeCode}/{probeLabel}'); + return str_replace(['{code}', '{probe_code}', '{probe_label}', '{id}'], [$this->code, $this->probe_code, $this->probe_label, $this->id], '/runtime/pipeline/{id}/step/{code}/probes/{probeCode}/{probeLabel}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { @@ -52,8 +57,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php b/src/Endpoint/ReorderPipelineStepsPipelineCollection.php index 385a9887..5b871695 100644 --- a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php +++ b/src/Endpoint/ReorderPipelineStepsPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/reorder'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ReplacePipelineStepPipelineCollection.php b/src/Endpoint/ReplacePipelineStepPipelineCollection.php index 3f9f8bf3..7c7dbf08 100644 --- a/src/Endpoint/ReplacePipelineStepPipelineCollection.php +++ b/src/Endpoint/ReplacePipelineStepPipelineCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/replace'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ResumeExecutionExecutionCollection.php b/src/Endpoint/ResumeExecutionExecutionCollection.php index 5078fd5a..b92e0d8c 100644 --- a/src/Endpoint/ResumeExecutionExecutionCollection.php +++ b/src/Endpoint/ResumeExecutionExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/resume'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleImmediateScheduleCollection.php b/src/Endpoint/ScheduleImmediateScheduleCollection.php index cd942bdd..fc04e6e9 100644 --- a/src/Endpoint/ScheduleImmediateScheduleCollection.php +++ b/src/Endpoint/ScheduleImmediateScheduleCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-immediate'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|null + * * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleOnceScheduleCollection.php b/src/Endpoint/ScheduleOnceScheduleCollection.php index e0c769e9..25d8fcdc 100644 --- a/src/Endpoint/ScheduleOnceScheduleCollection.php +++ b/src/Endpoint/ScheduleOnceScheduleCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-once'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|null + * * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleTimesScheduleCollection.php b/src/Endpoint/ScheduleTimesScheduleCollection.php index d0c16e2b..28fd2ec4 100644 --- a/src/Endpoint/ScheduleTimesScheduleCollection.php +++ b/src/Endpoint/ScheduleTimesScheduleCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-times'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|null + * * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleUntilScheduleCollection.php b/src/Endpoint/ScheduleUntilScheduleCollection.php index 9e8444c7..20399c06 100644 --- a/src/Endpoint/ScheduleUntilScheduleCollection.php +++ b/src/Endpoint/ScheduleUntilScheduleCollection.php @@ -1,55 +1,64 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-until'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|null + * * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException - * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand', 'json'); } if (400 === $status) { @@ -59,8 +68,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/StartExecutionExecutionCollection.php b/src/Endpoint/StartExecutionExecutionCollection.php index 77c84442..e7983805 100644 --- a/src/Endpoint/StartExecutionExecutionCollection.php +++ b/src/Endpoint/StartExecutionExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/start'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/TerminateExecutionExecutionCollection.php b/src/Endpoint/TerminateExecutionExecutionCollection.php index 4b60f2c2..7ddcd262 100644 --- a/src/Endpoint/TerminateExecutionExecutionCollection.php +++ b/src/Endpoint/TerminateExecutionExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/terminate'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/UpdateExecutionStateExecutionCollection.php b/src/Endpoint/UpdateExecutionStateExecutionCollection.php index 532adb3b..b2df972b 100644 --- a/src/Endpoint/UpdateExecutionStateExecutionCollection.php +++ b/src/Endpoint/UpdateExecutionStateExecutionCollection.php @@ -1,55 +1,62 @@ body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/update-state'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php b/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php index 192b9d6a..53134966 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php @@ -1,5 +1,7 @@ id; } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->code = $code; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->label = $label; + + return $this; + } + + public function getRuntimeType(): ?string + { + return $this->runtimeType; + } + + public function setRuntimeType(?string $runtimeType): self + { + $this->runtimeType = $runtimeType; + + return $this; + } + /** - * - * - * @param string $id - * - * @return self + * @return string[]|null */ - public function setId(string $id) : self + public function getRuntime(): ?array { - $this->id = $id; + return $this->runtime; + } + + /** + * @param string[]|null $runtime + */ + public function setRuntime(?array $runtime): self + { + $this->runtime = $runtime; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAutoload(): ?array + { + return $this->autoload; + } + + /** + * @param string[]|null $autoload + */ + public function setAutoload(?array $autoload): self + { + $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AbstractPipelineJsonld.php b/src/Model/AbstractPipelineJsonld.php index 213173cb..4300157b 100644 --- a/src/Model/AbstractPipelineJsonld.php +++ b/src/Model/AbstractPipelineJsonld.php @@ -1,142 +1,193 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->code = $code; + return $this; } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->label = $label; + + return $this; + } + + public function getRuntimeType(): ?string + { + return $this->runtimeType; + } + + public function setRuntimeType(?string $runtimeType): self + { + $this->runtimeType = $runtimeType; + + return $this; + } + /** - * - * - * @return string + * @return string[]|null */ - public function getType() : string + public function getRuntime(): ?array { - return $this->type; + return $this->runtime; } + /** - * - * - * @param string $type - * - * @return self + * @param string[]|null $runtime */ - public function setType(string $type) : self + public function setRuntime(?array $runtime): self { - $this->type = $type; + $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string + * @return string[]|null */ - public function getId2() : string + public function getAutoload(): ?array { - return $this->id2; + return $this->autoload; } + /** - * - * - * @param string $id2 - * - * @return self + * @param string[]|null $autoload */ - public function setId2(string $id2) : self + public function setAutoload(?array $autoload): self { - $this->id2 = $id2; + $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ActionJsonldRead.php b/src/Model/ActionJsonldRead.php index f1a993a0..f1e8d529 100644 --- a/src/Model/ActionJsonldRead.php +++ b/src/Model/ActionJsonldRead.php @@ -1,115 +1,79 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ActionRead.php b/src/Model/ActionRead.php index 4b6f2610..204f4092 100644 --- a/src/Model/ActionRead.php +++ b/src/Model/ActionRead.php @@ -1,34 +1,25 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AkeneoInstance.php b/src/Model/AkeneoInstance.php new file mode 100644 index 00000000..1ce9af09 --- /dev/null +++ b/src/Model/AkeneoInstance.php @@ -0,0 +1,133 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + public function getSecret(): ?string + { + return $this->secret; + } + + public function setSecret(?string $secret): self + { + $this->secret = $secret; + + return $this; + } + + /** + * @return string[]|null + */ + public function getLinkedAccounts(): ?array + { + return $this->linkedAccounts; + } + + /** + * @param string[]|null $linkedAccounts + */ + public function setLinkedAccounts(?array $linkedAccounts): self + { + $this->linkedAccounts = $linkedAccounts; + + return $this; + } + + /** + * @return string[]|null + */ + public function getOauthTokens(): ?array + { + return $this->oauthTokens; + } + + /** + * @param string[]|null $oauthTokens + */ + public function setOauthTokens(?array $oauthTokens): self + { + $this->oauthTokens = $oauthTokens; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInput.php b/src/Model/AkeneoInstanceAkeneoInstanceInput.php new file mode 100644 index 00000000..d16898ff --- /dev/null +++ b/src/Model/AkeneoInstanceAkeneoInstanceInput.php @@ -0,0 +1,57 @@ +pimUrl; + } + + public function setPimUrl(?string $pimUrl): self + { + $this->pimUrl = $pimUrl; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getSecret(): ?SecretInput + { + return $this->secret; + } + + public function setSecret(?SecretInput $secret): self + { + $this->secret = $secret; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php new file mode 100644 index 00000000..835a3897 --- /dev/null +++ b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php @@ -0,0 +1,111 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getPimUrl(): ?string + { + return $this->pimUrl; + } + + public function setPimUrl(?string $pimUrl): self + { + $this->pimUrl = $pimUrl; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getSecret(): ?SecretInputJsonld + { + return $this->secret; + } + + public function setSecret(?SecretInputJsonld $secret): self + { + $this->secret = $secret; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceJsonld.php b/src/Model/AkeneoInstanceJsonld.php new file mode 100644 index 00000000..2045ed4c --- /dev/null +++ b/src/Model/AkeneoInstanceJsonld.php @@ -0,0 +1,187 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + public function getSecret(): ?string + { + return $this->secret; + } + + public function setSecret(?string $secret): self + { + $this->secret = $secret; + + return $this; + } + + /** + * @return string[]|null + */ + public function getLinkedAccounts(): ?array + { + return $this->linkedAccounts; + } + + /** + * @param string[]|null $linkedAccounts + */ + public function setLinkedAccounts(?array $linkedAccounts): self + { + $this->linkedAccounts = $linkedAccounts; + + return $this; + } + + /** + * @return string[]|null + */ + public function getOauthTokens(): ?array + { + return $this->oauthTokens; + } + + /** + * @param string[]|null $oauthTokens + */ + public function setOauthTokens(?array $oauthTokens): self + { + $this->oauthTokens = $oauthTokens; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccount.php b/src/Model/AkeneoLinkedAccount.php new file mode 100644 index 00000000..c5715de8 --- /dev/null +++ b/src/Model/AkeneoLinkedAccount.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->user = $user; + + return $this; + } + + public function getTokenId(): ?string + { + return $this->tokenId; + } + + public function setTokenId(?string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): ?string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(?string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): ?string + { + return $this->token; + } + + public function setToken(?string $token): self + { + $this->token = $token; + + return $this; + } + + public function getAkeneoInstance(): ?string + { + return $this->akeneoInstance; + } + + public function setAkeneoInstance(?string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php new file mode 100644 index 00000000..84676536 --- /dev/null +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php @@ -0,0 +1,73 @@ +akeneoInstance; + } + + public function setAkeneoInstance(?string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } + + public function getTokenId(): ?string + { + return $this->tokenId; + } + + public function setTokenId(?string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): ?string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(?string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): ?string + { + return $this->token; + } + + public function setToken(?string $token): self + { + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php new file mode 100644 index 00000000..d855f509 --- /dev/null +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php @@ -0,0 +1,127 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getAkeneoInstance(): ?string + { + return $this->akeneoInstance; + } + + public function setAkeneoInstance(?string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } + + public function getTokenId(): ?string + { + return $this->tokenId; + } + + public function setTokenId(?string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): ?string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(?string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): ?string + { + return $this->token; + } + + public function setToken(?string $token): self + { + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccountJsonld.php b/src/Model/AkeneoLinkedAccountJsonld.php new file mode 100644 index 00000000..c3290bb0 --- /dev/null +++ b/src/Model/AkeneoLinkedAccountJsonld.php @@ -0,0 +1,159 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->user = $user; + + return $this; + } + + public function getTokenId(): ?string + { + return $this->tokenId; + } + + public function setTokenId(?string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): ?string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(?string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): ?string + { + return $this->token; + } + + public function setToken(?string $token): self + { + $this->token = $token; + + return $this; + } + + public function getAkeneoInstance(): ?string + { + return $this->akeneoInstance; + } + + public function setAkeneoInstance(?string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenJsonldRead.php b/src/Model/AkeneoOauthTokenJsonldRead.php new file mode 100644 index 00000000..5e917b8c --- /dev/null +++ b/src/Model/AkeneoOauthTokenJsonldRead.php @@ -0,0 +1,133 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[]|null + */ + public function getScopes(): ?array + { + return $this->scopes; + } + + /** + * @param string[]|null $scopes + */ + public function setScopes(?array $scopes): self + { + $this->scopes = $scopes; + + return $this; + } + + public function getResponseType(): ?string + { + return $this->responseType; + } + + public function setResponseType(?string $responseType): self + { + $this->responseType = $responseType; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthStateInput.php b/src/Model/AkeneoOauthTokenOauthStateInput.php new file mode 100644 index 00000000..8bde64fa --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthStateInput.php @@ -0,0 +1,47 @@ +url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[]|null + */ + public function getScope(): ?array + { + return $this->scope; + } + + /** + * @param string[]|null $scope + */ + public function setScope(?array $scope): self + { + $this->scope = $scope; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php new file mode 100644 index 00000000..51bd4db2 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php @@ -0,0 +1,101 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[]|null + */ + public function getScope(): ?array + { + return $this->scope; + } + + /** + * @param string[]|null $scope + */ + public function setScope(?array $scope): self + { + $this->scope = $scope; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php new file mode 100644 index 00000000..e42fe852 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php @@ -0,0 +1,63 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthTokenInput.php b/src/Model/AkeneoOauthTokenOauthTokenInput.php new file mode 100644 index 00000000..bd3c94d4 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthTokenInput.php @@ -0,0 +1,57 @@ +url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + public function getState(): ?string + { + return $this->state; + } + + public function setState(?string $state): self + { + $this->state = $state; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php new file mode 100644 index 00000000..c8616fd1 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php @@ -0,0 +1,89 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + public function getState(): ?string + { + return $this->state; + } + + public function setState(?string $state): self + { + $this->state = $state; + + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): self + { + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php new file mode 100644 index 00000000..6e4e37fa --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php @@ -0,0 +1,41 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenRead.php b/src/Model/AkeneoOauthTokenRead.php new file mode 100644 index 00000000..165d7b22 --- /dev/null +++ b/src/Model/AkeneoOauthTokenRead.php @@ -0,0 +1,79 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[]|null + */ + public function getScopes(): ?array + { + return $this->scopes; + } + + /** + * @param string[]|null $scopes + */ + public function setScopes(?array $scopes): self + { + $this->scopes = $scopes; + + return $this; + } + + public function getResponseType(): ?string + { + return $this->responseType; + } + + public function setResponseType(?string $responseType): self + { + $this->responseType = $responseType; + + return $this; + } +} diff --git a/src/Model/AuthenticationMeGetResponse200.php b/src/Model/AuthenticationMeGetResponse200.php index d49af46f..b562b058 100644 --- a/src/Model/AuthenticationMeGetResponse200.php +++ b/src/Model/AuthenticationMeGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserJsonld[] $hydraMember - * - * @return self + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationMeGetResponse200HydraView - */ - public function getHydraView() : AuthenticationMeGetResponse200HydraView + + public function getHydraView(): ?AuthenticationMeGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationMeGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationMeGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationMeGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationMeGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationMeGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationMeGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationMeGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationMeGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationMeGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationMeGetResponse200HydraSearch.php b/src/Model/AuthenticationMeGetResponse200HydraSearch.php index 9a3756cf..12bca839 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationMeGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationMeGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationMeGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php index 13a61d34..7cad1555 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationMeGetResponse200HydraView.php b/src/Model/AuthenticationMeGetResponse200HydraView.php index 91ac7d16..4f60805f 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraView.php +++ b/src/Model/AuthenticationMeGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200.php new file mode 100644 index 00000000..a93cfe40 --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param OptionJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationOfferIdOptionsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationOfferIdOptionsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationOfferIdOptionsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationOfferIdOptionsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php new file mode 100644 index 00000000..e8826b8e --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..ece02cd7 --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php new file mode 100644 index 00000000..f85937ae --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200.php b/src/Model/AuthenticationOffersGetResponse200.php new file mode 100644 index 00000000..daaf539e --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param OfferJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationOffersGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationOffersGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationOffersGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationOffersGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200HydraSearch.php b/src/Model/AuthenticationOffersGetResponse200HydraSearch.php new file mode 100644 index 00000000..759bab1b --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..3ab2d8f0 --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200HydraView.php b/src/Model/AuthenticationOffersGetResponse200HydraView.php new file mode 100644 index 00000000..9aaf4292 --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php index 8b02945a..03862486 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView + + public function getHydraView(): ?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php index e629ec61..17ff0ee2 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index 3e97d40c..2e1fc085 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php index 60c5ee10..0ea5d212 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php index 3ac02a77..dba90745 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserJsonld[] $hydraMember - * - * @return self + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView + + public function getHydraView(): ?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php index d0856884..cc63e2de 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php index 364e3f31..12973041 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php index 7b273b7f..6cae9fde 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php index bb190ca2..eb6fda76 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserJsonld[] $hydraMember - * - * @return self + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdUsersGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdUsersGetResponse200HydraView + + public function getHydraView(): ?AuthenticationOrganizationIdUsersGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdUsersGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationOrganizationIdUsersGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php index 8d265609..c506043c 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php index fa925bcc..6caf8263 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php index 04febc4e..a26c191c 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php index 3f66a400..4c019b86 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param WorkspaceJsonld[] $hydraMember - * - * @return self + * @param WorkspaceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdWorkspacesGetResponse200HydraView + + public function getHydraView(): ?AuthenticationOrganizationIdWorkspacesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php index ef16aeac..fb6a589c 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php index 73d84448..24f810ff 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php index 600434ac..c5f90470 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200.php b/src/Model/AuthenticationOrganizationsGetResponse200.php index b4f8cc8e..91eed80d 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param OrganizationJsonld[] $hydraMember - * - * @return self + * @param OrganizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationsGetResponse200HydraView + + public function getHydraView(): ?AuthenticationOrganizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationOrganizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationsGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationOrganizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php index df8c2962..3503c080 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php index 1c961723..f4451bcc 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php index d5b7d238..ac0a282f 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200.php b/src/Model/AuthenticationSubscriptionsGetResponse200.php new file mode 100644 index 00000000..3867c0cc --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param SubscriptionJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationSubscriptionsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationSubscriptionsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationSubscriptionsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationSubscriptionsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php new file mode 100644 index 00000000..9eb03b2f --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..518edfc2 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php new file mode 100644 index 00000000..3378d938 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php new file mode 100644 index 00000000..44338a35 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param SubscriptionOptionJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?AuthenticationSubscriptionsIdOptionsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?AuthenticationSubscriptionsIdOptionsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php new file mode 100644 index 00000000..c2c4acef --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..114fdbb5 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php new file mode 100644 index 00000000..b17aa05f --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200.php index b9220eda..16045521 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationUserAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationUserAuthorizationsGetResponse200HydraView + + public function getHydraView(): ?AuthenticationUserAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationUserAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationUserAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationUserAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php index 671c6631..520fa1a9 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index aa2a1318..a83f28b3 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php index 1ab3684c..3d36640c 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php index 55627197..b1bbeb7e 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationUserIdAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationUserIdAuthorizationsGetResponse200HydraView + + public function getHydraView(): ?AuthenticationUserIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationUserIdAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationUserIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php index 38aa9b26..f966bbbe 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index c803e146..b22d9d99 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php index 815dace3..8090e108 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200.php b/src/Model/AuthenticationUsersGetResponse200.php index f807190d..a5e3ec5b 100644 --- a/src/Model/AuthenticationUsersGetResponse200.php +++ b/src/Model/AuthenticationUsersGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserJsonld[] $hydraMember - * - * @return self + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationUsersGetResponse200HydraView - */ - public function getHydraView() : AuthenticationUsersGetResponse200HydraView + + public function getHydraView(): ?AuthenticationUsersGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationUsersGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationUsersGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationUsersGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationUsersGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationUsersGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationUsersGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationUsersGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationUsersGetResponse200HydraSearch.php index de1eeb69..97a2e888 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php index 91cf056e..f180c20a 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200HydraView.php b/src/Model/AuthenticationUsersGetResponse200HydraView.php index 1dd2cb32..bb082c0f 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php index 696fa5eb..9b0538d3 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView + + public function getHydraView(): ?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php index c936ad8d..49485413 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index 36c59a88..70281213 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php index a8acbd11..47007d5d 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php index d89cf91b..ee4e7226 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param UserJsonld[] $hydraMember - * - * @return self + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdUsersGetResponse200HydraView - */ - public function getHydraView() : AuthenticationWorkspaceIdUsersGetResponse200HydraView + + public function getHydraView(): ?AuthenticationWorkspaceIdUsersGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationWorkspaceIdUsersGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationWorkspaceIdUsersGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php index c7c37747..082ce3b1 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php index a0eba07f..7b9ba004 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php index dfc6bf36..e3e1f1b9 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200.php b/src/Model/AuthenticationWorkspacesGetResponse200.php index bef85d73..831ccaf9 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param WorkspaceJsonld[] $hydraMember - * - * @return self + * @param WorkspaceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationWorkspacesGetResponse200HydraView - */ - public function getHydraView() : AuthenticationWorkspacesGetResponse200HydraView + + public function getHydraView(): ?AuthenticationWorkspacesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationWorkspacesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationWorkspacesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?AuthenticationWorkspacesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationWorkspacesGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationWorkspacesGetResponse200HydraSearch + + public function getHydraSearch(): ?AuthenticationWorkspacesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php index b5ca1941..865c9848 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php index 525034ec..b1b1e048 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php index abd03f58..679680b5 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AutoloadInput.php b/src/Model/AutoloadInput.php index 12c20dff..fef3d0ad 100644 --- a/src/Model/AutoloadInput.php +++ b/src/Model/AutoloadInput.php @@ -1,61 +1,47 @@ namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getPaths() : array + public function getPaths(): ?array { return $this->paths; } + /** - * - * - * @param string[] $paths - * - * @return self + * @param string[]|null $paths */ - public function setPaths(array $paths) : self + public function setPaths(?array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AutoloadInputJsonld.php b/src/Model/AutoloadInputJsonld.php index 38baeb5b..666fe2ff 100644 --- a/src/Model/AutoloadInputJsonld.php +++ b/src/Model/AutoloadInputJsonld.php @@ -1,142 +1,101 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): ?string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getPaths() : array + public function getPaths(): ?array { return $this->paths; } + /** - * - * - * @param string[] $paths - * - * @return self + * @param string[]|null $paths */ - public function setPaths(array $paths) : self + public function setPaths(?array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/BigDecimal.php b/src/Model/BigDecimal.php new file mode 100644 index 00000000..b989f8e4 --- /dev/null +++ b/src/Model/BigDecimal.php @@ -0,0 +1,257 @@ +scale; + } + + /** + * The scale (number of digits after the decimal point) of this decimal number. + */ + public function setScale(?int $scale): self + { + $this->scale = $scale; + + return $this; + } + + public function getSign(): ?int + { + return $this->sign; + } + + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } + + public function getUnscaledValue(): ?BigInteger + { + return $this->unscaledValue; + } + + public function setUnscaledValue(?BigInteger $unscaledValue): self + { + $this->unscaledValue = $unscaledValue; + + return $this; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function getIntegralPart(): ?string + { + return $this->integralPart; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function setIntegralPart(?string $integralPart): self + { + $this->integralPart = $integralPart; + + return $this; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function getFractionalPart(): ?string + { + return $this->fractionalPart; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function setFractionalPart(?string $fractionalPart): self + { + $this->fractionalPart = $fractionalPart; + + return $this; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function getNonZeroFractionalPart(): ?bool + { + return $this->nonZeroFractionalPart; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function setNonZeroFractionalPart(?bool $nonZeroFractionalPart): self + { + $this->nonZeroFractionalPart = $nonZeroFractionalPart; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigDecimalJsonld.php b/src/Model/BigDecimalJsonld.php new file mode 100644 index 00000000..b326d8bc --- /dev/null +++ b/src/Model/BigDecimalJsonld.php @@ -0,0 +1,311 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * The scale (number of digits after the decimal point) of this decimal number. + */ + public function getScale(): ?int + { + return $this->scale; + } + + /** + * The scale (number of digits after the decimal point) of this decimal number. + */ + public function setScale(?int $scale): self + { + $this->scale = $scale; + + return $this; + } + + public function getSign(): ?int + { + return $this->sign; + } + + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } + + public function getUnscaledValue(): ?BigIntegerJsonld + { + return $this->unscaledValue; + } + + public function setUnscaledValue(?BigIntegerJsonld $unscaledValue): self + { + $this->unscaledValue = $unscaledValue; + + return $this; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function getIntegralPart(): ?string + { + return $this->integralPart; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function setIntegralPart(?string $integralPart): self + { + $this->integralPart = $integralPart; + + return $this; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function getFractionalPart(): ?string + { + return $this->fractionalPart; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function setFractionalPart(?string $fractionalPart): self + { + $this->fractionalPart = $fractionalPart; + + return $this; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function getNonZeroFractionalPart(): ?bool + { + return $this->nonZeroFractionalPart; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function setNonZeroFractionalPart(?bool $nonZeroFractionalPart): self + { + $this->nonZeroFractionalPart = $nonZeroFractionalPart; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigInteger.php b/src/Model/BigInteger.php new file mode 100644 index 00000000..2e002ebb --- /dev/null +++ b/src/Model/BigInteger.php @@ -0,0 +1,241 @@ +bitLength; + } + + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + */ + public function setBitLength(?int $bitLength): self + { + $this->bitLength = $bitLength; + + return $this; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function getLowestSetBit(): ?int + { + return $this->lowestSetBit; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function setLowestSetBit(?int $lowestSetBit): self + { + $this->lowestSetBit = $lowestSetBit; + + return $this; + } + + /** + * Returns whether this number is even. + */ + public function getEven(): ?bool + { + return $this->even; + } + + /** + * Returns whether this number is even. + */ + public function setEven(?bool $even): self + { + $this->even = $even; + + return $this; + } + + /** + * Returns whether this number is odd. + */ + public function getOdd(): ?bool + { + return $this->odd; + } + + /** + * Returns whether this number is odd. + */ + public function setOdd(?bool $odd): self + { + $this->odd = $odd; + + return $this; + } + + public function getSign(): ?int + { + return $this->sign; + } + + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigIntegerJsonld.php b/src/Model/BigIntegerJsonld.php new file mode 100644 index 00000000..8b6a8d26 --- /dev/null +++ b/src/Model/BigIntegerJsonld.php @@ -0,0 +1,295 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + */ + public function getBitLength(): ?int + { + return $this->bitLength; + } + + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + */ + public function setBitLength(?int $bitLength): self + { + $this->bitLength = $bitLength; + + return $this; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function getLowestSetBit(): ?int + { + return $this->lowestSetBit; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function setLowestSetBit(?int $lowestSetBit): self + { + $this->lowestSetBit = $lowestSetBit; + + return $this; + } + + /** + * Returns whether this number is even. + */ + public function getEven(): ?bool + { + return $this->even; + } + + /** + * Returns whether this number is even. + */ + public function setEven(?bool $even): self + { + $this->even = $even; + + return $this; + } + + /** + * Returns whether this number is odd. + */ + public function getOdd(): ?bool + { + return $this->odd; + } + + /** + * Returns whether this number is odd. + */ + public function setOdd(?bool $odd): self + { + $this->odd = $odd; + + return $this; + } + + public function getSign(): ?int + { + return $this->sign; + } + + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigNumber.php b/src/Model/BigNumber.php new file mode 100644 index 00000000..fb263077 --- /dev/null +++ b/src/Model/BigNumber.php @@ -0,0 +1,153 @@ +zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } + + /** + * Returns the sign of this number. + */ + public function getSign(): ?int + { + return $this->sign; + } + + /** + * Returns the sign of this number. + */ + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } +} diff --git a/src/Model/BigNumberJsonld.php b/src/Model/BigNumberJsonld.php new file mode 100644 index 00000000..1991d471 --- /dev/null +++ b/src/Model/BigNumberJsonld.php @@ -0,0 +1,207 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } + + /** + * Returns the sign of this number. + */ + public function getSign(): ?int + { + return $this->sign; + } + + /** + * Returns the sign of this number. + */ + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } +} diff --git a/src/Model/ConfigMap.php b/src/Model/ConfigMap.php new file mode 100644 index 00000000..1e9bce7b --- /dev/null +++ b/src/Model/ConfigMap.php @@ -0,0 +1,111 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + /** + * @param mixed $iterator + */ + public function setIterator($iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigMapConfigMapInput.php b/src/Model/ConfigMapConfigMapInput.php new file mode 100644 index 00000000..b79b2d60 --- /dev/null +++ b/src/Model/ConfigMapConfigMapInput.php @@ -0,0 +1,57 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getConfigs(): ?ConfigMapValueInput + { + return $this->configs; + } + + public function setConfigs(?ConfigMapValueInput $configs): self + { + $this->configs = $configs; + + return $this; + } +} diff --git a/src/Model/ConfigMapConfigMapInputJsonld.php b/src/Model/ConfigMapConfigMapInputJsonld.php new file mode 100644 index 00000000..658fe6b7 --- /dev/null +++ b/src/Model/ConfigMapConfigMapInputJsonld.php @@ -0,0 +1,111 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getConfigs(): ?ConfigMapValueInputJsonld + { + return $this->configs; + } + + public function setConfigs(?ConfigMapValueInputJsonld $configs): self + { + $this->configs = $configs; + + return $this; + } +} diff --git a/src/Model/ConfigMapJsonld.php b/src/Model/ConfigMapJsonld.php new file mode 100644 index 00000000..c8663cdf --- /dev/null +++ b/src/Model/ConfigMapJsonld.php @@ -0,0 +1,159 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + public function getIterator(): ?TraversableJsonld + { + return $this->iterator; + } + + public function setIterator(?TraversableJsonld $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigMapValueInput.php b/src/Model/ConfigMapValueInput.php index bffb2aae..22738136 100644 --- a/src/Model/ConfigMapValueInput.php +++ b/src/Model/ConfigMapValueInput.php @@ -1,115 +1,85 @@ arrayCopy; } + /** - * - * * @param mixed $arrayCopy - * - * @return self */ - public function setArrayCopy($arrayCopy) : self + public function setArrayCopy($arrayCopy): self { $this->arrayCopy = $arrayCopy; + return $this; } - /** - * - * - * @return int - */ - public function getFlags() : int + + public function getFlags(): ?int { return $this->flags; } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self + + public function setFlags(?int $flags): self { $this->flags = $flags; + return $this; } + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } - /** - * - * - * @return string - */ - public function getIteratorClass() : string + + public function getIteratorClass(): ?string { return $this->iteratorClass; } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self + + public function setIteratorClass(?string $iteratorClass): self { $this->iteratorClass = $iteratorClass; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ConfigMapValueInputJsonld.php b/src/Model/ConfigMapValueInputJsonld.php index 506272e6..4d19a64e 100644 --- a/src/Model/ConfigMapValueInputJsonld.php +++ b/src/Model/ConfigMapValueInputJsonld.php @@ -1,196 +1,139 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getArrayCopy() { return $this->arrayCopy; } + /** - * - * * @param mixed $arrayCopy - * - * @return self */ - public function setArrayCopy($arrayCopy) : self + public function setArrayCopy($arrayCopy): self { $this->arrayCopy = $arrayCopy; + return $this; } - /** - * - * - * @return int - */ - public function getFlags() : int + + public function getFlags(): ?int { return $this->flags; } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self + + public function setFlags(?int $flags): self { $this->flags = $flags; + return $this; } + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } - /** - * - * - * @return string - */ - public function getIteratorClass() : string + + public function getIteratorClass(): ?string { return $this->iteratorClass; } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self + + public function setIteratorClass(?string $iteratorClass): self { $this->iteratorClass = $iteratorClass; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Context.php b/src/Model/Context.php new file mode 100644 index 00000000..b23fb00e --- /dev/null +++ b/src/Model/Context.php @@ -0,0 +1,57 @@ +step; + } + + /** + * Returns the step used by this context. + */ + public function setStep(?int $step): self + { + $this->step = $step; + + return $this; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function getFixedScale(): ?bool + { + return $this->fixedScale; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function setFixedScale(?bool $fixedScale): self + { + $this->fixedScale = $fixedScale; + + return $this; + } +} diff --git a/src/Model/ContextJsonld.php b/src/Model/ContextJsonld.php new file mode 100644 index 00000000..f114370d --- /dev/null +++ b/src/Model/ContextJsonld.php @@ -0,0 +1,111 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * Returns the step used by this context. + */ + public function getStep(): ?int + { + return $this->step; + } + + /** + * Returns the step used by this context. + */ + public function setStep(?int $step): self + { + $this->step = $step; + + return $this; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function getFixedScale(): ?bool + { + return $this->fixedScale; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function setFixedScale(?bool $fixedScale): self + { + $this->fixedScale = $fixedScale; + + return $this; + } +} diff --git a/src/Model/Credentials.php b/src/Model/Credentials.php index 79e93f77..1a21e16e 100644 --- a/src/Model/Credentials.php +++ b/src/Model/Credentials.php @@ -1,88 +1,57 @@ username; } - /** - * - * - * @param string $username - * - * @return self - */ - public function setUsername(string $username) : self + + public function setUsername(?string $username): self { $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getPassword() : string + + public function getPassword(): ?string { return $this->password; } - /** - * - * - * @param string $password - * - * @return self - */ - public function setPassword(string $password) : self + + public function setPassword(?string $password): self { $this->password = $password; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Currency.php b/src/Model/Currency.php new file mode 100644 index 00000000..1869bd5c --- /dev/null +++ b/src/Model/Currency.php @@ -0,0 +1,105 @@ +currencyCode; + } + + /** + * The currency code. + */ + public function setCurrencyCode(?string $currencyCode): self + { + $this->currencyCode = $currencyCode; + + return $this; + } + + /** + * The numeric currency code. + */ + public function getNumericCode(): ?int + { + return $this->numericCode; + } + + /** + * The numeric currency code. + */ + public function setNumericCode(?int $numericCode): self + { + $this->numericCode = $numericCode; + + return $this; + } + + /** + * The name of the currency. + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * The name of the currency. + */ + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function getDefaultFractionDigits(): ?int + { + return $this->defaultFractionDigits; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function setDefaultFractionDigits(?int $defaultFractionDigits): self + { + $this->defaultFractionDigits = $defaultFractionDigits; + + return $this; + } +} diff --git a/src/Model/CurrencyJsonld.php b/src/Model/CurrencyJsonld.php new file mode 100644 index 00000000..97733420 --- /dev/null +++ b/src/Model/CurrencyJsonld.php @@ -0,0 +1,159 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * The currency code. + */ + public function getCurrencyCode(): ?string + { + return $this->currencyCode; + } + + /** + * The currency code. + */ + public function setCurrencyCode(?string $currencyCode): self + { + $this->currencyCode = $currencyCode; + + return $this; + } + + /** + * The numeric currency code. + */ + public function getNumericCode(): ?int + { + return $this->numericCode; + } + + /** + * The numeric currency code. + */ + public function setNumericCode(?int $numericCode): self + { + $this->numericCode = $numericCode; + + return $this; + } + + /** + * The name of the currency. + */ + public function getName(): ?string + { + return $this->name; + } + + /** + * The name of the currency. + */ + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function getDefaultFractionDigits(): ?int + { + return $this->defaultFractionDigits; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function setDefaultFractionDigits(?int $defaultFractionDigits): self + { + $this->defaultFractionDigits = $defaultFractionDigits; + + return $this; + } +} diff --git a/src/Model/Environment.php b/src/Model/Environment.php index 263ea945..951ee9fb 100644 --- a/src/Model/Environment.php +++ b/src/Model/Environment.php @@ -1,169 +1,111 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): ?string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(?string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } + /** - * - * - * @return Variable[] + * @return Variable[]|null */ - public function getVariables() : array + public function getVariables(): ?array { return $this->variables; } + /** - * - * - * @param Variable[] $variables - * - * @return self + * @param Variable[]|null $variables */ - public function setVariables(array $variables) : self + public function setVariables(?array $variables): self { $this->variables = $variables; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200.php new file mode 100644 index 00000000..56e263ab --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param ConfigMapJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?EnvironmentConfigMapIdPutPutResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?EnvironmentConfigMapIdPutPutResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?EnvironmentConfigMapIdPutPutResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?EnvironmentConfigMapIdPutPutResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php new file mode 100644 index 00000000..a49c2ce8 --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..c0c2ad6b --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php new file mode 100644 index 00000000..d0a9bf4d --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200.php b/src/Model/EnvironmentConfigMapsGetResponse200.php new file mode 100644 index 00000000..93abf3a4 --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param ConfigMapJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?EnvironmentConfigMapsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?EnvironmentConfigMapsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?EnvironmentConfigMapsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?EnvironmentConfigMapsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php new file mode 100644 index 00000000..a08503fc --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..6c68fef4 --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php new file mode 100644 index 00000000..cec2335a --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200.php b/src/Model/EnvironmentEnvironmentsGetResponse200.php index 92e71945..a354f680 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param EnvironmentJsonld[] $hydraMember - * - * @return self + * @param EnvironmentJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentEnvironmentsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentEnvironmentsGetResponse200HydraView + + public function getHydraView(): ?EnvironmentEnvironmentsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentEnvironmentsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentEnvironmentsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?EnvironmentEnvironmentsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentEnvironmentsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentEnvironmentsGetResponse200HydraSearch + + public function getHydraSearch(): ?EnvironmentEnvironmentsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php index f96d9f05..d4b8b9e3 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php index 22d28c10..7fea3ce1 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php index f908f40a..6288c23d 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentJsonld.php b/src/Model/EnvironmentJsonld.php index 7ee54264..df21c257 100644 --- a/src/Model/EnvironmentJsonld.php +++ b/src/Model/EnvironmentJsonld.php @@ -1,250 +1,165 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): ?string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(?string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } + /** - * - * - * @return VariableJsonld[] + * @return VariableJsonld[]|null */ - public function getVariables() : array + public function getVariables(): ?array { return $this->variables; } + /** - * - * - * @param VariableJsonld[] $variables - * - * @return self + * @param VariableJsonld[]|null $variables */ - public function setVariables(array $variables) : self + public function setVariables(?array $variables): self { $this->variables = $variables; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200.php b/src/Model/EnvironmentSecretIdPutPutResponse200.php index 016384dc..5daa98d1 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param SecretJsonld[] $hydraMember - * - * @return self + * @param SecretJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentSecretIdPutPutResponse200HydraView - */ - public function getHydraView() : EnvironmentSecretIdPutPutResponse200HydraView + + public function getHydraView(): ?EnvironmentSecretIdPutPutResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentSecretIdPutPutResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentSecretIdPutPutResponse200HydraView $hydraView) : self + + public function setHydraView(?EnvironmentSecretIdPutPutResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentSecretIdPutPutResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentSecretIdPutPutResponse200HydraSearch + + public function getHydraSearch(): ?EnvironmentSecretIdPutPutResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php index ef016172..8df414a9 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php index ad427485..00e89243 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php index dae1f18a..8fc63e46 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200.php b/src/Model/EnvironmentSecretsGetResponse200.php index 4bf784a3..ec5d6a22 100644 --- a/src/Model/EnvironmentSecretsGetResponse200.php +++ b/src/Model/EnvironmentSecretsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param SecretJsonld[] $hydraMember - * - * @return self + * @param SecretJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentSecretsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentSecretsGetResponse200HydraView + + public function getHydraView(): ?EnvironmentSecretsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentSecretsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentSecretsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?EnvironmentSecretsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentSecretsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentSecretsGetResponse200HydraSearch + + public function getHydraSearch(): ?EnvironmentSecretsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentSecretsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentSecretsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?EnvironmentSecretsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php index 1b26ab63..7dfe8ad4 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php index 89f867b0..f1d20004 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraView.php b/src/Model/EnvironmentSecretsGetResponse200HydraView.php index 88f28d10..e5a39cf7 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraView.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php index 8b007518..c2b18025 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param VariableFromConfigMapJsonld[] $hydraMember - * - * @return self + * @param VariableFromConfigMapJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentVariableFromConfigMapsGetResponse200HydraView + + public function getHydraView(): ?EnvironmentVariableFromConfigMapsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentVariableFromConfigMapsGetResponse200HydraSearch + + public function getHydraSearch(): ?EnvironmentVariableFromConfigMapsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php index d6bbe9a6..d33547a3 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php index 19950246..c9f82512 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php index 43db27c5..e0b7396f 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200.php index 169061cf..423a1275 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param VariableFromSecretJsonld[] $hydraMember - * - * @return self + * @param VariableFromSecretJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentVariableFromSecretsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentVariableFromSecretsGetResponse200HydraView + + public function getHydraView(): ?EnvironmentVariableFromSecretsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentVariableFromSecretsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentVariableFromSecretsGetResponse200HydraSearch + + public function getHydraSearch(): ?EnvironmentVariableFromSecretsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php index 34317b7e..35c11370 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php index 059e8f3c..df9cc640 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php index 3f7cacfe..b5687a6c 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionAction.php b/src/Model/ExecutionAction.php index bcefd940..ce55d3b2 100644 --- a/src/Model/ExecutionAction.php +++ b/src/Model/ExecutionAction.php @@ -1,61 +1,41 @@ execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionActionJsonld.php b/src/Model/ExecutionActionJsonld.php index 3c4bce23..2aee2366 100644 --- a/src/Model/ExecutionActionJsonld.php +++ b/src/Model/ExecutionActionJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getExecution() : ?string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionActionJsonldRead.php b/src/Model/ExecutionActionJsonldRead.php index 6fa986b3..76860651 100644 --- a/src/Model/ExecutionActionJsonldRead.php +++ b/src/Model/ExecutionActionJsonldRead.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionActionRead.php b/src/Model/ExecutionActionRead.php index 75502c03..a41aa028 100644 --- a/src/Model/ExecutionActionRead.php +++ b/src/Model/ExecutionActionRead.php @@ -1,34 +1,25 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php index 11729634..f0e175b3 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php @@ -1,61 +1,41 @@ schedule; } - /** - * - * - * @param string $schedule - * - * @return self - */ - public function setSchedule(string $schedule) : self + + public function setSchedule(?string $schedule): self { $this->schedule = $schedule; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php index b62ee4e9..597cefc4 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getSchedule() : string + + public function getSchedule(): ?string { return $this->schedule; } - /** - * - * - * @param string $schedule - * - * @return self - */ - public function setSchedule(string $schedule) : self + + public function setSchedule(?string $schedule): self { $this->schedule = $schedule; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php index f8ae21ac..e70a06a1 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php index d1f36dc6..00b1ec1e 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php @@ -1,34 +1,25 @@ execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php index 052dbd7c..bfe6efe3 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php index 4686da70..fb0b98e3 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php index 157c7e9a..70b17169 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php @@ -1,34 +1,25 @@ execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php index 4fc6758f..2878c988 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php index 2f77eb2b..863450ca 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionJsonldRead.php b/src/Model/ExecutionJsonldRead.php index b97e58c8..34bce0cf 100644 --- a/src/Model/ExecutionJsonldRead.php +++ b/src/Model/ExecutionJsonldRead.php @@ -1,493 +1,309 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): ?string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(?string $status): self { $this->status = $status; + return $this; } - /** - * - * - * @return int - */ - public function getErrors() : int + + public function getErrors(): ?int { return $this->errors; } - /** - * - * - * @param int $errors - * - * @return self - */ - public function setErrors(int $errors) : self + + public function setErrors(?int $errors): self { $this->errors = $errors; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getScheduledAt() : ?\DateTime + + public function getScheduledAt(): ?\DateTime { return $this->scheduledAt; } - /** - * - * - * @param \DateTime|null $scheduledAt - * - * @return self - */ - public function setScheduledAt(?\DateTime $scheduledAt) : self + + public function setScheduledAt(?\DateTime $scheduledAt): self { $this->scheduledAt = $scheduledAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartedAt() : ?\DateTime + + public function getStartedAt(): ?\DateTime { return $this->startedAt; } - /** - * - * - * @param \DateTime|null $startedAt - * - * @return self - */ - public function setStartedAt(?\DateTime $startedAt) : self + + public function setStartedAt(?\DateTime $startedAt): self { $this->startedAt = $startedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getFinishedAt() : ?\DateTime + + public function getFinishedAt(): ?\DateTime { return $this->finishedAt; } - /** - * - * - * @param \DateTime|null $finishedAt - * - * @return self - */ - public function setFinishedAt(?\DateTime $finishedAt) : self + + public function setFinishedAt(?\DateTime $finishedAt): self { $this->finishedAt = $finishedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getInterruptedAt() : ?\DateTime + + public function getInterruptedAt(): ?\DateTime { return $this->interruptedAt; } - /** - * - * - * @param \DateTime|null $interruptedAt - * - * @return self - */ - public function setInterruptedAt(?\DateTime $interruptedAt) : self + + public function setInterruptedAt(?\DateTime $interruptedAt): self { $this->interruptedAt = $interruptedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getResumedAt() : ?\DateTime + + public function getResumedAt(): ?\DateTime { return $this->resumedAt; } - /** - * - * - * @param \DateTime|null $resumedAt - * - * @return self - */ - public function setResumedAt(?\DateTime $resumedAt) : self + + public function setResumedAt(?\DateTime $resumedAt): self { $this->resumedAt = $resumedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getUpdatedAt() : ?\DateTime + + public function getUpdatedAt(): ?\DateTime { return $this->updatedAt; } - /** - * - * - * @param \DateTime|null $updatedAt - * - * @return self - */ - public function setUpdatedAt(?\DateTime $updatedAt) : self + + public function setUpdatedAt(?\DateTime $updatedAt): self { $this->updatedAt = $updatedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getTerminatedAt() : ?\DateTime + + public function getTerminatedAt(): ?\DateTime { return $this->terminatedAt; } - /** - * - * - * @param \DateTime|null $terminatedAt - * - * @return self - */ - public function setTerminatedAt(?\DateTime $terminatedAt) : self + + public function setTerminatedAt(?\DateTime $terminatedAt): self { $this->terminatedAt = $terminatedAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getReason() : ?string + + public function getReason(): ?string { return $this->reason; } - /** - * - * - * @param string|null $reason - * - * @return self - */ - public function setReason(?string $reason) : self + + public function setReason(?string $reason): self { $this->reason = $reason; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipeline.php b/src/Model/ExecutionPipeline.php index d833d904..96607d96 100644 --- a/src/Model/ExecutionPipeline.php +++ b/src/Model/ExecutionPipeline.php @@ -1,88 +1,63 @@ execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineJob.php b/src/Model/ExecutionPipelineJob.php index b780107b..f65c8cb2 100644 --- a/src/Model/ExecutionPipelineJob.php +++ b/src/Model/ExecutionPipelineJob.php @@ -1,88 +1,63 @@ job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineJobJsonld.php b/src/Model/ExecutionPipelineJobJsonld.php index 6a2c747f..3397672a 100644 --- a/src/Model/ExecutionPipelineJobJsonld.php +++ b/src/Model/ExecutionPipelineJobJsonld.php @@ -1,169 +1,117 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineJsonld.php b/src/Model/ExecutionPipelineJsonld.php index 6669ae63..118f155b 100644 --- a/src/Model/ExecutionPipelineJsonld.php +++ b/src/Model/ExecutionPipelineJsonld.php @@ -1,169 +1,117 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getExecution() : ?string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineStep.php b/src/Model/ExecutionPipelineStep.php index 68779ae5..efdd3b88 100644 --- a/src/Model/ExecutionPipelineStep.php +++ b/src/Model/ExecutionPipelineStep.php @@ -1,88 +1,63 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return AbstractPipeline - */ - public function getPipeline() : AbstractPipeline + + public function getPipeline(): ?AbstractPipeline { return $this->pipeline; } - /** - * - * - * @param AbstractPipeline $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipeline $pipeline) : self + + public function setPipeline(?AbstractPipeline $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getMetrics() : array + public function getMetrics(): ?array { return $this->metrics; } + /** - * - * - * @param string[] $metrics - * - * @return self + * @param string[]|null $metrics */ - public function setMetrics(array $metrics) : self + public function setMetrics(?array $metrics): self { $this->metrics = $metrics; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineStepJsonld.php b/src/Model/ExecutionPipelineStepJsonld.php index a0a5c6a9..b22edff3 100644 --- a/src/Model/ExecutionPipelineStepJsonld.php +++ b/src/Model/ExecutionPipelineStepJsonld.php @@ -1,169 +1,117 @@ context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(?string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): ?string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(?string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return AbstractPipelineJsonld - */ - public function getPipeline() : AbstractPipelineJsonld + + public function getPipeline(): ?AbstractPipelineJsonld { return $this->pipeline; } - /** - * - * - * @param AbstractPipelineJsonld $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipelineJsonld $pipeline) : self + + public function setPipeline(?AbstractPipelineJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getMetrics() : array + public function getMetrics(): ?array { return $this->metrics; } + /** - * - * - * @param string[] $metrics - * - * @return self + * @param string[]|null $metrics */ - public function setMetrics(array $metrics) : self + public function setMetrics(?array $metrics): self { $this->metrics = $metrics; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionRead.php b/src/Model/ExecutionRead.php index 7ab0dfed..06c338a1 100644 --- a/src/Model/ExecutionRead.php +++ b/src/Model/ExecutionRead.php @@ -1,412 +1,255 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): ?string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(?string $status): self { $this->status = $status; + return $this; } - /** - * - * - * @return int - */ - public function getErrors() : int + + public function getErrors(): ?int { return $this->errors; } - /** - * - * - * @param int $errors - * - * @return self - */ - public function setErrors(int $errors) : self + + public function setErrors(?int $errors): self { $this->errors = $errors; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getScheduledAt() : ?\DateTime + + public function getScheduledAt(): ?\DateTime { return $this->scheduledAt; } - /** - * - * - * @param \DateTime|null $scheduledAt - * - * @return self - */ - public function setScheduledAt(?\DateTime $scheduledAt) : self + + public function setScheduledAt(?\DateTime $scheduledAt): self { $this->scheduledAt = $scheduledAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartedAt() : ?\DateTime + + public function getStartedAt(): ?\DateTime { return $this->startedAt; } - /** - * - * - * @param \DateTime|null $startedAt - * - * @return self - */ - public function setStartedAt(?\DateTime $startedAt) : self + + public function setStartedAt(?\DateTime $startedAt): self { $this->startedAt = $startedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getFinishedAt() : ?\DateTime + + public function getFinishedAt(): ?\DateTime { return $this->finishedAt; } - /** - * - * - * @param \DateTime|null $finishedAt - * - * @return self - */ - public function setFinishedAt(?\DateTime $finishedAt) : self + + public function setFinishedAt(?\DateTime $finishedAt): self { $this->finishedAt = $finishedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getInterruptedAt() : ?\DateTime + + public function getInterruptedAt(): ?\DateTime { return $this->interruptedAt; } - /** - * - * - * @param \DateTime|null $interruptedAt - * - * @return self - */ - public function setInterruptedAt(?\DateTime $interruptedAt) : self + + public function setInterruptedAt(?\DateTime $interruptedAt): self { $this->interruptedAt = $interruptedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getResumedAt() : ?\DateTime + + public function getResumedAt(): ?\DateTime { return $this->resumedAt; } - /** - * - * - * @param \DateTime|null $resumedAt - * - * @return self - */ - public function setResumedAt(?\DateTime $resumedAt) : self + + public function setResumedAt(?\DateTime $resumedAt): self { $this->resumedAt = $resumedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getUpdatedAt() : ?\DateTime + + public function getUpdatedAt(): ?\DateTime { return $this->updatedAt; } - /** - * - * - * @param \DateTime|null $updatedAt - * - * @return self - */ - public function setUpdatedAt(?\DateTime $updatedAt) : self + + public function setUpdatedAt(?\DateTime $updatedAt): self { $this->updatedAt = $updatedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getTerminatedAt() : ?\DateTime + + public function getTerminatedAt(): ?\DateTime { return $this->terminatedAt; } - /** - * - * - * @param \DateTime|null $terminatedAt - * - * @return self - */ - public function setTerminatedAt(?\DateTime $terminatedAt) : self + + public function setTerminatedAt(?\DateTime $terminatedAt): self { $this->terminatedAt = $terminatedAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getReason() : ?string + + public function getReason(): ?string { return $this->reason; } - /** - * - * - * @param string|null $reason - * - * @return self - */ - public function setReason(?string $reason) : self + + public function setReason(?string $reason): self { $this->reason = $reason; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInput.php b/src/Model/ExecutionResumePipelineExecutionCommandInput.php index e236e874..2aeeec3d 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInput.php @@ -1,34 +1,25 @@ execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php index 6be981b2..41ff8903 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php index 299cf8e8..6cee332f 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInput.php b/src/Model/ExecutionStartPipelineExecutionCommandInput.php index 54b7ce90..3e4f196d 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInput.php @@ -1,34 +1,25 @@ execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php index 3ae12d35..99e64625 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php index e5e584d8..4d8e3e3a 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php index b5272f27..57f61ffa 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php @@ -1,61 +1,41 @@ execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getReason() : string + + public function getReason(): ?string { return $this->reason; } - /** - * - * - * @param string $reason - * - * @return self - */ - public function setReason(string $reason) : self + + public function setReason(?string $reason): self { $this->reason = $reason; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php index 872f1f82..a03c29a8 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getReason() : string + + public function getReason(): ?string { return $this->reason; } - /** - * - * - * @param string $reason - * - * @return self - */ - public function setReason(string $reason) : self + + public function setReason(?string $reason): self { $this->reason = $reason; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php index 23c098f7..b59a3dfa 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php index 9d305462..7ce03364 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php @@ -1,61 +1,41 @@ execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return UpdateList - */ - public function getStepsUpdates() : UpdateList + + public function getStepsUpdates(): ?UpdateList { return $this->stepsUpdates; } - /** - * - * - * @param UpdateList $stepsUpdates - * - * @return self - */ - public function setStepsUpdates(UpdateList $stepsUpdates) : self + + public function setStepsUpdates(?UpdateList $stepsUpdates): self { $this->stepsUpdates = $stepsUpdates; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php index ab8ecd8a..7ff701f5 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return UpdateListJsonld - */ - public function getStepsUpdates() : UpdateListJsonld + + public function getStepsUpdates(): ?UpdateListJsonld { return $this->stepsUpdates; } - /** - * - * - * @param UpdateListJsonld $stepsUpdates - * - * @return self - */ - public function setStepsUpdates(UpdateListJsonld $stepsUpdates) : self + + public function setStepsUpdates(?UpdateListJsonld $stepsUpdates): self { $this->stepsUpdates = $stepsUpdates; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php index c7af110f..c3927cee 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflow.php b/src/Model/ExecutionWorkflow.php index 36ca8bf7..2c5e0155 100644 --- a/src/Model/ExecutionWorkflow.php +++ b/src/Model/ExecutionWorkflow.php @@ -1,88 +1,63 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getJobs() : array + public function getJobs(): ?array { return $this->jobs; } + /** - * - * - * @param string[] $jobs - * - * @return self + * @param string[]|null $jobs */ - public function setJobs(array $jobs) : self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJob.php b/src/Model/ExecutionWorkflowJob.php index 4971347d..1cf5f2a3 100644 --- a/src/Model/ExecutionWorkflowJob.php +++ b/src/Model/ExecutionWorkflowJob.php @@ -1,115 +1,73 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getAction() : ?string + + public function getAction(): ?string { return $this->action; } - /** - * - * - * @param string|null $action - * - * @return self - */ - public function setAction(?string $action) : self + + public function setAction(?string $action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJobAction.php b/src/Model/ExecutionWorkflowJobAction.php index 07506777..4ff1d3d9 100644 --- a/src/Model/ExecutionWorkflowJobAction.php +++ b/src/Model/ExecutionWorkflowJobAction.php @@ -1,61 +1,41 @@ job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJobActionJsonld.php b/src/Model/ExecutionWorkflowJobActionJsonld.php index 0ef6814b..487de5f6 100644 --- a/src/Model/ExecutionWorkflowJobActionJsonld.php +++ b/src/Model/ExecutionWorkflowJobActionJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJobJsonld.php b/src/Model/ExecutionWorkflowJobJsonld.php index 70b27d1f..bab5bf7b 100644 --- a/src/Model/ExecutionWorkflowJobJsonld.php +++ b/src/Model/ExecutionWorkflowJobJsonld.php @@ -1,196 +1,127 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getAction() : ?string + + public function getAction(): ?string { return $this->action; } - /** - * - * - * @param string|null $action - * - * @return self - */ - public function setAction(?string $action) : self + + public function setAction(?string $action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJsonld.php b/src/Model/ExecutionWorkflowJsonld.php index c99e7c11..defba80a 100644 --- a/src/Model/ExecutionWorkflowJsonld.php +++ b/src/Model/ExecutionWorkflowJsonld.php @@ -1,169 +1,117 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getJobs() : array + public function getJobs(): ?array { return $this->jobs; } + /** - * - * - * @param string[] $jobs - * - * @return self + * @param string[]|null $jobs */ - public function setJobs(array $jobs) : self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php new file mode 100644 index 00000000..8627d56f --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoInstanceJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoInstanceFromUrlGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoInstanceFromUrlGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php new file mode 100644 index 00000000..75d3c3d0 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..c772f5b7 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php new file mode 100644 index 00000000..ff8a1ec4 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php new file mode 100644 index 00000000..8d6988e3 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoInstanceJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoInstanceOauthStateGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoInstanceOauthStateGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php new file mode 100644 index 00000000..7c9fcfe2 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..18a9f229 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php new file mode 100644 index 00000000..d21bd40a --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200.php b/src/Model/GatewayAkeneoInstancesGetResponse200.php new file mode 100644 index 00000000..51d1e1ee --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoInstanceJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoInstancesGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoInstancesGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoInstancesGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoInstancesGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php new file mode 100644 index 00000000..7354b6de --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..25b34847 --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php new file mode 100644 index 00000000..9fd6e967 --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php new file mode 100644 index 00000000..20bb853b --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoLinkedAccountJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php new file mode 100644 index 00000000..27b723e7 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..717e9685 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php new file mode 100644 index 00000000..914f866e --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php new file mode 100644 index 00000000..795de269 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoLinkedAccountJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoLinkedAccountsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoLinkedAccountsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoLinkedAccountsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoLinkedAccountsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php new file mode 100644 index 00000000..72d79885 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..065cb2e5 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php new file mode 100644 index 00000000..0faebc3a --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200.php new file mode 100644 index 00000000..fe4fe16c --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoOauthTokenJsonldRead[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoOauthStatesGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoOauthStatesGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoOauthStatesGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoOauthStatesGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php new file mode 100644 index 00000000..0b00ed37 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..09a1a047 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php new file mode 100644 index 00000000..56e410be --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBody.php b/src/Model/GatewayAkeneoOauthTokenPutBody.php new file mode 100644 index 00000000..caca8aca --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBody.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoOauthTokenOauthTokenInputJsonld[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoOauthTokenPutBodyHydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoOauthTokenPutBodyHydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoOauthTokenPutBodyHydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoOauthTokenPutBodyHydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php new file mode 100644 index 00000000..b6dc5a36 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php new file mode 100644 index 00000000..26cd5024 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php new file mode 100644 index 00000000..201b0d32 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200.php new file mode 100644 index 00000000..2133edc4 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200.php @@ -0,0 +1,79 @@ +hydraMember; + } + + /** + * @param AkeneoOauthTokenOauthTokenOutputJsonldRead[]|null $hydraMember + */ + public function setHydraMember(?array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): ?int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(?int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): ?GatewayAkeneoOauthTokenPutResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(?GatewayAkeneoOauthTokenPutResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): ?GatewayAkeneoOauthTokenPutResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(?GatewayAkeneoOauthTokenPutResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php new file mode 100644 index 00000000..281e061c --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php @@ -0,0 +1,79 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): ?string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(?string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): ?string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..e0ba6a39 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,73 @@ +type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): ?string + { + return $this->variable; + } + + public function setVariable(?string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): ?bool + { + return $this->required; + } + + public function setRequired(?bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php new file mode 100644 index 00000000..cfda9012 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): ?string + { + return $this->hydraFirst; + } + + public function setHydraFirst(?string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): ?string + { + return $this->hydraLast; + } + + public function setHydraLast(?string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): ?string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(?string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): ?string + { + return $this->hydraNext; + } + + public function setHydraNext(?string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/Money.php b/src/Model/Money.php new file mode 100644 index 00000000..b9abd140 --- /dev/null +++ b/src/Model/Money.php @@ -0,0 +1,261 @@ +amount; + } + + public function setAmount(?BigDecimal $amount): self + { + $this->amount = $amount; + + return $this; + } + + public function getCurrency(): ?Currency + { + return $this->currency; + } + + public function setCurrency(?Currency $currency): self + { + $this->currency = $currency; + + return $this; + } + + public function getContext(): ?Context + { + return $this->context; + } + + public function setContext(?Context $context): self + { + $this->context = $context; + + return $this; + } + + public function getMinorAmount(): ?BigDecimal + { + return $this->minorAmount; + } + + public function setMinorAmount(?BigDecimal $minorAmount): self + { + $this->minorAmount = $minorAmount; + + return $this; + } + + public function getUnscaledAmount(): ?BigInteger + { + return $this->unscaledAmount; + } + + public function setUnscaledAmount(?BigInteger $unscaledAmount): self + { + $this->unscaledAmount = $unscaledAmount; + + return $this; + } + + /** + * Required by interface MoneyContainer. + * + * @return BigNumber[]|null + */ + public function getAmounts(): ?array + { + return $this->amounts; + } + + /** + * Required by interface MoneyContainer. + * + * @param BigNumber[]|null $amounts + */ + public function setAmounts(?array $amounts): self + { + $this->amounts = $amounts; + + return $this; + } + + /** + * Returns the sign of this money. + */ + public function getSign(): ?int + { + return $this->sign; + } + + /** + * Returns the sign of this money. + */ + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Returns whether this money has zero value. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Returns whether this money has zero value. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Returns whether this money has a negative value. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Returns whether this money has a negative value. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Returns whether this money has a positive value. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Returns whether this money has a positive value. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/MoneyJsonld.php b/src/Model/MoneyJsonld.php new file mode 100644 index 00000000..4ab24041 --- /dev/null +++ b/src/Model/MoneyJsonld.php @@ -0,0 +1,315 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getAmount(): ?BigDecimalJsonld + { + return $this->amount; + } + + public function setAmount(?BigDecimalJsonld $amount): self + { + $this->amount = $amount; + + return $this; + } + + public function getCurrency(): ?CurrencyJsonld + { + return $this->currency; + } + + public function setCurrency(?CurrencyJsonld $currency): self + { + $this->currency = $currency; + + return $this; + } + + public function getContext2(): ?ContextJsonld + { + return $this->context2; + } + + public function setContext2(?ContextJsonld $context2): self + { + $this->context2 = $context2; + + return $this; + } + + public function getMinorAmount(): ?BigDecimalJsonld + { + return $this->minorAmount; + } + + public function setMinorAmount(?BigDecimalJsonld $minorAmount): self + { + $this->minorAmount = $minorAmount; + + return $this; + } + + public function getUnscaledAmount(): ?BigIntegerJsonld + { + return $this->unscaledAmount; + } + + public function setUnscaledAmount(?BigIntegerJsonld $unscaledAmount): self + { + $this->unscaledAmount = $unscaledAmount; + + return $this; + } + + /** + * Required by interface MoneyContainer. + * + * @return BigNumberJsonld[]|null + */ + public function getAmounts(): ?array + { + return $this->amounts; + } + + /** + * Required by interface MoneyContainer. + * + * @param BigNumberJsonld[]|null $amounts + */ + public function setAmounts(?array $amounts): self + { + $this->amounts = $amounts; + + return $this; + } + + /** + * Returns the sign of this money. + */ + public function getSign(): ?int + { + return $this->sign; + } + + /** + * Returns the sign of this money. + */ + public function setSign(?int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Returns whether this money has zero value. + */ + public function getZero(): ?bool + { + return $this->zero; + } + + /** + * Returns whether this money has zero value. + */ + public function setZero(?bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Returns whether this money has a negative value. + */ + public function getNegative(): ?bool + { + return $this->negative; + } + + /** + * Returns whether this money has a negative value. + */ + public function setNegative(?bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function getNegativeOrZero(): ?bool + { + return $this->negativeOrZero; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function setNegativeOrZero(?bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Returns whether this money has a positive value. + */ + public function getPositive(): ?bool + { + return $this->positive; + } + + /** + * Returns whether this money has a positive value. + */ + public function setPositive(?bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function getPositiveOrZero(): ?bool + { + return $this->positiveOrZero; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function setPositiveOrZero(?bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/Offer.php b/src/Model/Offer.php new file mode 100644 index 00000000..9a3b8413 --- /dev/null +++ b/src/Model/Offer.php @@ -0,0 +1,127 @@ +options; + } + + /** + * @param string[]|null $options + */ + public function setOptions(?array $options): self + { + $this->options = $options; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getSku(): ?string + { + return $this->sku; + } + + public function setSku(?string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): ?Price + { + return $this->price; + } + + public function setPrice(?Price $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/OfferJsonld.php b/src/Model/OfferJsonld.php new file mode 100644 index 00000000..dbf1a217 --- /dev/null +++ b/src/Model/OfferJsonld.php @@ -0,0 +1,181 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + /** + * @return string[]|null + */ + public function getOptions(): ?array + { + return $this->options; + } + + /** + * @param string[]|null $options + */ + public function setOptions(?array $options): self + { + $this->options = $options; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getSku(): ?string + { + return $this->sku; + } + + public function setSku(?string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): ?PriceJsonld + { + return $this->price; + } + + public function setPrice(?PriceJsonld $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php index 7104954d..0c849747 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php @@ -1,250 +1,159 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): ?string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(?string $message): self { $this->message = $message; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php index 5c9cf95a..cfae3bf8 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php @@ -1,196 +1,127 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): ?string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(?string $message): self { $this->message = $message; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OnPremiseRequestOnPremiseRequestRead.php b/src/Model/OnPremiseRequestOnPremiseRequestRead.php index 85254199..a4fe08cb 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestRead.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): ?string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(?string $message): self { $this->message = $message; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php index 5b145fce..e7dda2ef 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php @@ -1,115 +1,73 @@ firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): ?string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(?string $message): self { $this->message = $message; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Option.php b/src/Model/Option.php new file mode 100644 index 00000000..1958780d --- /dev/null +++ b/src/Model/Option.php @@ -0,0 +1,121 @@ +offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getSku(): ?string + { + return $this->sku; + } + + public function setSku(?string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): ?Price + { + return $this->price; + } + + public function setPrice(?Price $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/OptionJsonld.php b/src/Model/OptionJsonld.php new file mode 100644 index 00000000..23144bbb --- /dev/null +++ b/src/Model/OptionJsonld.php @@ -0,0 +1,153 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getOffer(): ?string + { + return $this->offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getSku(): ?string + { + return $this->sku; + } + + public function setSku(?string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): ?PriceJsonld + { + return $this->price; + } + + public function setPrice(?PriceJsonld $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/Organization.php b/src/Model/Organization.php index 31294dd8..a1415aae 100644 --- a/src/Model/Organization.php +++ b/src/Model/Organization.php @@ -1,196 +1,145 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getSlug() : string + + public function getSlug(): ?string { return $this->slug; } - /** - * - * - * @param string $slug - * - * @return self - */ - public function setSlug(string $slug) : self + + public function setSlug(?string $slug): self { $this->slug = $slug; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getUsers() : array + public function getUsers(): ?array { return $this->users; } + /** - * - * - * @param string[] $users - * - * @return self + * @param string[]|null $users */ - public function setUsers(array $users) : self + public function setUsers(?array $users): self { $this->users = $users; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getExternalCollaborators() : array + public function getExternalCollaborators(): ?array { return $this->externalCollaborators; } + /** - * - * - * @param string[] $externalCollaborators - * - * @return self + * @param string[]|null $externalCollaborators */ - public function setExternalCollaborators(array $externalCollaborators) : self + public function setExternalCollaborators(?array $externalCollaborators): self { $this->externalCollaborators = $externalCollaborators; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getWorkspaces() : array + public function getWorkspaces(): ?array { return $this->workspaces; } + /** - * - * - * @param string[] $workspaces - * - * @return self + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OrganizationJsonld.php b/src/Model/OrganizationJsonld.php index 818c7de6..bdd22414 100644 --- a/src/Model/OrganizationJsonld.php +++ b/src/Model/OrganizationJsonld.php @@ -1,277 +1,199 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getSlug() : string + + public function getSlug(): ?string { return $this->slug; } - /** - * - * - * @param string $slug - * - * @return self - */ - public function setSlug(string $slug) : self + + public function setSlug(?string $slug): self { $this->slug = $slug; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getUsers() : array + public function getUsers(): ?array { return $this->users; } + /** - * - * - * @param string[] $users - * - * @return self + * @param string[]|null $users */ - public function setUsers(array $users) : self + public function setUsers(?array $users): self { $this->users = $users; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getExternalCollaborators() : array + public function getExternalCollaborators(): ?array { return $this->externalCollaborators; } + /** - * - * - * @param string[] $externalCollaborators - * - * @return self + * @param string[]|null $externalCollaborators */ - public function setExternalCollaborators(array $externalCollaborators) : self + public function setExternalCollaborators(?array $externalCollaborators): self { $this->externalCollaborators = $externalCollaborators; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getWorkspaces() : array + public function getWorkspaces(): ?array { return $this->workspaces; } + /** - * - * - * @param string[] $workspaces - * - * @return self + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInput.php b/src/Model/PipelineAddAfterPipelineStepCommandInput.php index 6757fd94..5ebebefa 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInput.php @@ -1,169 +1,117 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): ?string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(?string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfiguration() : iterable + public function getConfiguration(): ?iterable { return $this->configuration; } + /** - * - * - * @param string[][] $configuration - * - * @return self + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return Probe[] + * @return Probe[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param Probe[] $probes - * - * @return self + * @param Probe[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php index df2c08a6..832fe3f2 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php @@ -1,250 +1,171 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): ?string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(?string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfiguration() : iterable + public function getConfiguration(): ?iterable { return $this->configuration; } + /** - * - * - * @param string[][] $configuration - * - * @return self + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param ProbeJsonld[] $probes - * - * @return self + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php index 389ba5e6..831a5535 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInput.php b/src/Model/PipelineAddBeforePipelineStepCommandInput.php index 61029d19..5aac7814 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInput.php @@ -1,169 +1,117 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): ?string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(?string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfiguration() : iterable + public function getConfiguration(): ?iterable { return $this->configuration; } + /** - * - * - * @param string[][] $configuration - * - * @return self + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return Probe[] + * @return Probe[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param Probe[] $probes - * - * @return self + * @param Probe[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php index ec5cc94d..0a1bd411 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php @@ -1,250 +1,171 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): ?string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(?string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfiguration() : iterable + public function getConfiguration(): ?iterable { return $this->configuration; } + /** - * - * - * @param string[][] $configuration - * - * @return self + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param ProbeJsonld[] $probes - * - * @return self + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php index 2a171fd0..8da9ef63 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php index 8141bed2..d8a5ee93 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php @@ -1,88 +1,63 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): ?string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getPaths() : array + public function getPaths(): ?array { return $this->paths; } + /** - * - * - * @param string[] $paths - * - * @return self + * @param string[]|null $paths */ - public function setPaths(array $paths) : self + public function setPaths(?array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php index cf9c7867..eb03b617 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php @@ -1,169 +1,117 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): ?string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getPaths() : array + public function getPaths(): ?array { return $this->paths; } + /** - * - * - * @param string[] $paths - * - * @return self + * @param string[]|null $paths */ - public function setPaths(array $paths) : self + public function setPaths(?array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php index c13e876c..3cc06909 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineStepProbCommandInput.php b/src/Model/PipelineAddPipelineStepProbCommandInput.php index bb5188a6..bf969e8a 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInput.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInput.php @@ -1,88 +1,57 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return Probe - */ - public function getProbe() : Probe + + public function getProbe(): ?Probe { return $this->probe; } - /** - * - * - * @param Probe $probe - * - * @return self - */ - public function setProbe(Probe $probe) : self + + public function setProbe(?Probe $probe): self { $this->probe = $probe; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php index 11a0a121..a0a34764 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php @@ -1,169 +1,111 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return ProbeJsonld - */ - public function getProbe() : ProbeJsonld + + public function getProbe(): ?ProbeJsonld { return $this->probe; } - /** - * - * - * @param ProbeJsonld $probe - * - * @return self - */ - public function setProbe(ProbeJsonld $probe) : self + + public function setProbe(?ProbeJsonld $probe): self { $this->probe = $probe; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php index 71626ee9..dd34963a 100644 --- a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php +++ b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAppendPipelineStepCommandInput.php b/src/Model/PipelineAppendPipelineStepCommandInput.php index 6b893af1..76b86d37 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInput.php +++ b/src/Model/PipelineAppendPipelineStepCommandInput.php @@ -1,142 +1,101 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfiguration() : iterable + public function getConfiguration(): ?iterable { return $this->configuration; } + /** - * - * - * @param string[][] $configuration - * - * @return self + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return Probe[] + * @return Probe[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param Probe[] $probes - * - * @return self + * @param Probe[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php index 705dded7..5a330083 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php @@ -1,223 +1,155 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfiguration() : iterable + public function getConfiguration(): ?iterable { return $this->configuration; } + /** - * - * - * @param string[][] $configuration - * - * @return self + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param ProbeJsonld[] $probes - * - * @return self + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php index 4f171b1c..072bfa44 100644 --- a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilation.php b/src/Model/PipelineCompilation.php index 6cc904ab..603ed8b9 100644 --- a/src/Model/PipelineCompilation.php +++ b/src/Model/PipelineCompilation.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): ?string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(?string $owner): self { $this->owner = $owner; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilationJsonld.php b/src/Model/PipelineCompilationJsonld.php index 49d166a1..1ba8e5e7 100644 --- a/src/Model/PipelineCompilationJsonld.php +++ b/src/Model/PipelineCompilationJsonld.php @@ -1,250 +1,159 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): ?string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(?string $owner): self { $this->owner = $owner; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilePipelineCommandInput.php b/src/Model/PipelineCompilePipelineCommandInput.php index 4f3a8ac6..96a957bb 100644 --- a/src/Model/PipelineCompilePipelineCommandInput.php +++ b/src/Model/PipelineCompilePipelineCommandInput.php @@ -1,34 +1,25 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilePipelineCommandInputJsonld.php b/src/Model/PipelineCompilePipelineCommandInputJsonld.php index b30bb2aa..1b93ec2c 100644 --- a/src/Model/PipelineCompilePipelineCommandInputJsonld.php +++ b/src/Model/PipelineCompilePipelineCommandInputJsonld.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilePipelineCommandJsonldRead.php b/src/Model/PipelineCompilePipelineCommandJsonldRead.php index 25602348..7a73f531 100644 --- a/src/Model/PipelineCompilePipelineCommandJsonldRead.php +++ b/src/Model/PipelineCompilePipelineCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineDeclarePipelineCommandInput.php b/src/Model/PipelineDeclarePipelineCommandInput.php index 1d094fbd..a2aab712 100644 --- a/src/Model/PipelineDeclarePipelineCommandInput.php +++ b/src/Model/PipelineDeclarePipelineCommandInput.php @@ -1,169 +1,117 @@ label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * - * @return StepInput[] + * @return StepInput[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param StepInput[] $steps - * - * @return self + * @param StepInput[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } + /** - * - * - * @return AutoloadInput[] + * @return AutoloadInput[]|null */ - public function getAutoloads() : array + public function getAutoloads(): ?array { return $this->autoloads; } + /** - * - * - * @param AutoloadInput[] $autoloads - * - * @return self + * @param AutoloadInput[]|null $autoloads */ - public function setAutoloads(array $autoloads) : self + public function setAutoloads(?array $autoloads): self { $this->autoloads = $autoloads; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php index 1a6550de..4a82be02 100644 --- a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php +++ b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php @@ -1,250 +1,171 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * - * @return StepInputJsonld[] + * @return StepInputJsonld[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param StepInputJsonld[] $steps - * - * @return self + * @param StepInputJsonld[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } + /** - * - * - * @return AutoloadInputJsonld[] + * @return AutoloadInputJsonld[]|null */ - public function getAutoloads() : array + public function getAutoloads(): ?array { return $this->autoloads; } + /** - * - * - * @param AutoloadInputJsonld[] $autoloads - * - * @return self + * @param AutoloadInputJsonld[]|null $autoloads */ - public function setAutoloads(array $autoloads) : self + public function setAutoloads(?array $autoloads): self { $this->autoloads = $autoloads; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php index efa8297b..3d162ea4 100644 --- a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php +++ b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineIdJsonld.php b/src/Model/PipelineIdJsonld.php index 5a1bef02..bab08ce9 100644 --- a/src/Model/PipelineIdJsonld.php +++ b/src/Model/PipelineIdJsonld.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineJsonldRead.php b/src/Model/PipelineJsonldRead.php index 36bed636..a76c8f9d 100644 --- a/src/Model/PipelineJsonldRead.php +++ b/src/Model/PipelineJsonldRead.php @@ -1,331 +1,225 @@ context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(?string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): ?string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(?string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } - /** - * - * - * @return bool - */ - public function getIsSoftDeleted() : bool + + public function getIsSoftDeleted(): ?bool { return $this->isSoftDeleted; } - /** - * - * - * @param bool $isSoftDeleted - * - * @return self - */ - public function setIsSoftDeleted(bool $isSoftDeleted) : self + + public function setIsSoftDeleted(?bool $isSoftDeleted): self { $this->isSoftDeleted = $isSoftDeleted; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getCompiledAt() : ?\DateTime + + public function getCompiledAt(): ?\DateTime { return $this->compiledAt; } - /** - * - * - * @param \DateTime|null $compiledAt - * - * @return self - */ - public function setCompiledAt(?\DateTime $compiledAt) : self + + public function setCompiledAt(?\DateTime $compiledAt): self { $this->compiledAt = $compiledAt; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): ?string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getRuntime() : array + public function getRuntime(): ?array { return $this->runtime; } + /** - * - * - * @param string[] $runtime - * - * @return self + * @param string[]|null $runtime */ - public function setRuntime(array $runtime) : self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAutoload() : array + public function getAutoload(): ?array { return $this->autoload; } + /** - * - * - * @param string[] $autoload - * - * @return self + * @param string[]|null $autoload */ - public function setAutoload(array $autoload) : self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php index 52c533af..2d510c2f 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php @@ -1,88 +1,57 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): ?string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(?string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php index 6c201094..8f40dd56 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php @@ -1,169 +1,111 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): ?string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(?string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php index 2338017f..f2ea6564 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php index d4ae66d3..6d565d9e 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php @@ -1,88 +1,57 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): ?string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(?string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php index bba81003..289c6380 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php @@ -1,169 +1,111 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): ?string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(?string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php index 54561f59..82ea30a4 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineRead.php b/src/Model/PipelineRead.php index d9604b72..0e625bb9 100644 --- a/src/Model/PipelineRead.php +++ b/src/Model/PipelineRead.php @@ -1,250 +1,171 @@ isSoftDeleted; } - /** - * - * - * @param bool $isSoftDeleted - * - * @return self - */ - public function setIsSoftDeleted(bool $isSoftDeleted) : self + + public function setIsSoftDeleted(?bool $isSoftDeleted): self { $this->isSoftDeleted = $isSoftDeleted; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getCompiledAt() : ?\DateTime + + public function getCompiledAt(): ?\DateTime { return $this->compiledAt; } - /** - * - * - * @param \DateTime|null $compiledAt - * - * @return self - */ - public function setCompiledAt(?\DateTime $compiledAt) : self + + public function setCompiledAt(?\DateTime $compiledAt): self { $this->compiledAt = $compiledAt; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): ?string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getRuntime() : array + public function getRuntime(): ?array { return $this->runtime; } + /** - * - * - * @param string[] $runtime - * - * @return self + * @param string[]|null $runtime */ - public function setRuntime(array $runtime) : self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAutoload() : array + public function getAutoload(): ?array { return $this->autoload; } + /** - * - * - * @param string[] $autoload - * - * @return self + * @param string[]|null $autoload */ - public function setAutoload(array $autoload) : self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php index a41da9a4..a19a2964 100644 --- a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php +++ b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInput.php b/src/Model/PipelineReorderPipelineStepsCommandInput.php index 4d6e65b6..cfe1b6c4 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInput.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInput.php @@ -1,61 +1,47 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getCodes() : array + public function getCodes(): ?array { return $this->codes; } + /** - * - * - * @param string[] $codes - * - * @return self + * @param string[]|null $codes */ - public function setCodes(array $codes) : self + public function setCodes(?array $codes): self { $this->codes = $codes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php index dccdc123..0b68e442 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php @@ -1,142 +1,101 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getCodes() : array + public function getCodes(): ?array { return $this->codes; } + /** - * - * - * @param string[] $codes - * - * @return self + * @param string[]|null $codes */ - public function setCodes(array $codes) : self + public function setCodes(?array $codes): self { $this->codes = $codes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php index c000dd39..fb8dce0b 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php +++ b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReplacePipelineStepCommandInput.php b/src/Model/PipelineReplacePipelineStepCommandInput.php index b75b6d50..6e6a41ae 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInput.php +++ b/src/Model/PipelineReplacePipelineStepCommandInput.php @@ -1,169 +1,117 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getFormer() : string + + public function getFormer(): ?string { return $this->former; } - /** - * - * - * @param string $former - * - * @return self - */ - public function setFormer(string $former) : self + + public function setFormer(?string $former): self { $this->former = $former; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getConfiguration() : array + public function getConfiguration(): ?array { return $this->configuration; } + /** - * - * - * @param string[] $configuration - * - * @return self + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return Probe[] + * @return Probe[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param Probe[] $probes - * - * @return self + * @param Probe[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php index cfff434b..bec27ac6 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php @@ -1,250 +1,171 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getFormer() : string + + public function getFormer(): ?string { return $this->former; } - /** - * - * - * @param string $former - * - * @return self - */ - public function setFormer(string $former) : self + + public function setFormer(?string $former): self { $this->former = $former; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getConfiguration() : array + public function getConfiguration(): ?array { return $this->configuration; } + /** - * - * - * @param string[] $configuration - * - * @return self + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param ProbeJsonld[] $probes - * - * @return self + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php index da8c3f9e..54c85f85 100644 --- a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStep.php b/src/Model/PipelineStep.php index 0db32f38..5d160651 100644 --- a/src/Model/PipelineStep.php +++ b/src/Model/PipelineStep.php @@ -1,196 +1,133 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): ?int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(?int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return AbstractPipeline - */ - public function getPipeline() : AbstractPipeline + + public function getPipeline(): ?AbstractPipeline { return $this->pipeline; } - /** - * - * - * @param AbstractPipeline $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipeline $pipeline) : self + + public function setPipeline(?AbstractPipeline $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param string[] $probes - * - * @return self + * @param string[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getConfiguration() : array + public function getConfiguration(): ?array { return $this->configuration; } + /** - * - * - * @param string[] $configuration - * - * @return self + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStepJsonld.php b/src/Model/PipelineStepJsonld.php index f8f13200..310e0e17 100644 --- a/src/Model/PipelineStepJsonld.php +++ b/src/Model/PipelineStepJsonld.php @@ -1,277 +1,187 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): ?int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(?int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return AbstractPipelineJsonld - */ - public function getPipeline() : AbstractPipelineJsonld + + public function getPipeline(): ?AbstractPipelineJsonld { return $this->pipeline; } - /** - * - * - * @param AbstractPipelineJsonld $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipelineJsonld $pipeline) : self + + public function setPipeline(?AbstractPipelineJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param string[] $probes - * - * @return self + * @param string[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getConfiguration() : array + public function getConfiguration(): ?array { return $this->configuration; } + /** - * - * - * @param string[] $configuration - * - * @return self + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStepProbe.php b/src/Model/PipelineStepProbe.php index 410a4689..f3abc5b4 100644 --- a/src/Model/PipelineStepProbe.php +++ b/src/Model/PipelineStepProbe.php @@ -1,142 +1,89 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): ?int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(?int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getStep() : string + + public function getStep(): ?string { return $this->step; } - /** - * - * - * @param string $step - * - * @return self - */ - public function setStep(string $step) : self + + public function setStep(?string $step): self { $this->step = $step; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStepProbeJsonld.php b/src/Model/PipelineStepProbeJsonld.php index c10036dc..1b423dd4 100644 --- a/src/Model/PipelineStepProbeJsonld.php +++ b/src/Model/PipelineStepProbeJsonld.php @@ -1,223 +1,143 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): ?int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(?int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getStep() : string + + public function getStep(): ?string { return $this->step; } - /** - * - * - * @param string $step - * - * @return self - */ - public function setStep(string $step) : self + + public function setStep(?string $step): self { $this->step = $step; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Price.php b/src/Model/Price.php new file mode 100644 index 00000000..1d85d844 --- /dev/null +++ b/src/Model/Price.php @@ -0,0 +1,31 @@ +price; + } + + /** + * @param mixed $price + */ + public function setPrice($price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/PriceJsonld.php b/src/Model/PriceJsonld.php new file mode 100644 index 00000000..991bc776 --- /dev/null +++ b/src/Model/PriceJsonld.php @@ -0,0 +1,85 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getPrice() + { + return $this->price; + } + + /** + * @param mixed $price + */ + public function setPrice($price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/Probe.php b/src/Model/Probe.php index c65aee0c..bb04889e 100644 --- a/src/Model/Probe.php +++ b/src/Model/Probe.php @@ -1,61 +1,41 @@ code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ProbeJsonld.php b/src/Model/ProbeJsonld.php index 8de8b514..6e09701b 100644 --- a/src/Model/ProbeJsonld.php +++ b/src/Model/ProbeJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeJsonldReferralCodeRead.php b/src/Model/ReferralCodeJsonldReferralCodeRead.php index 2a54b49b..fee717be 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeRead.php +++ b/src/Model/ReferralCodeJsonldReferralCodeRead.php @@ -1,196 +1,133 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getReferralRequests() : array + public function getReferralRequests(): ?array { return $this->referralRequests; } + /** - * - * - * @param string[] $referralRequests - * - * @return self + * @param string[]|null $referralRequests */ - public function setReferralRequests(array $referralRequests) : self + public function setReferralRequests(?array $referralRequests): self { $this->referralRequests = $referralRequests; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeJsonldReferralCodeWrite.php b/src/Model/ReferralCodeJsonldReferralCodeWrite.php index 344fb8f8..d61413ec 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeWrite.php +++ b/src/Model/ReferralCodeJsonldReferralCodeWrite.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeReferralCodeRead.php b/src/Model/ReferralCodeReferralCodeRead.php index 140fd372..6bc7e7c8 100644 --- a/src/Model/ReferralCodeReferralCodeRead.php +++ b/src/Model/ReferralCodeReferralCodeRead.php @@ -1,115 +1,79 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getReferralRequests() : array + public function getReferralRequests(): ?array { return $this->referralRequests; } + /** - * - * - * @param string[] $referralRequests - * - * @return self + * @param string[]|null $referralRequests */ - public function setReferralRequests(array $referralRequests) : self + public function setReferralRequests(?array $referralRequests): self { $this->referralRequests = $referralRequests; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeReferralCodeWrite.php b/src/Model/ReferralCodeReferralCodeWrite.php index 95d38451..0cc88d2f 100644 --- a/src/Model/ReferralCodeReferralCodeWrite.php +++ b/src/Model/ReferralCodeReferralCodeWrite.php @@ -1,34 +1,25 @@ user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200.php b/src/Model/ReferralCodesGetResponse200.php index 343ff59e..ac9d5b31 100644 --- a/src/Model/ReferralCodesGetResponse200.php +++ b/src/Model/ReferralCodesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ReferralCodeJsonldReferralCodeRead[] $hydraMember - * - * @return self + * @param ReferralCodeJsonldReferralCodeRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return ReferralCodesGetResponse200HydraView - */ - public function getHydraView() : ReferralCodesGetResponse200HydraView + + public function getHydraView(): ?ReferralCodesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param ReferralCodesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(ReferralCodesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?ReferralCodesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return ReferralCodesGetResponse200HydraSearch - */ - public function getHydraSearch() : ReferralCodesGetResponse200HydraSearch + + public function getHydraSearch(): ?ReferralCodesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param ReferralCodesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(ReferralCodesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?ReferralCodesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200HydraSearch.php b/src/Model/ReferralCodesGetResponse200HydraSearch.php index 6b94799b..bdc60bcd 100644 --- a/src/Model/ReferralCodesGetResponse200HydraSearch.php +++ b/src/Model/ReferralCodesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return ReferralCodesGetResponse200HydraSearchHydraMappingItem[] + * @return ReferralCodesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param ReferralCodesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param ReferralCodesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php index 5b0fc3be..ead95ffe 100644 --- a/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200HydraView.php b/src/Model/ReferralCodesGetResponse200HydraView.php index ee07f962..0ded2177 100644 --- a/src/Model/ReferralCodesGetResponse200HydraView.php +++ b/src/Model/ReferralCodesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200.php b/src/Model/ReferralOnPremiseRequestsGetResponse200.php index 9890e9da..6499e3d0 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param OnPremiseRequestJsonldOnPremiseRequestRead[] $hydraMember - * - * @return self + * @param OnPremiseRequestJsonldOnPremiseRequestRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return ReferralOnPremiseRequestsGetResponse200HydraView - */ - public function getHydraView() : ReferralOnPremiseRequestsGetResponse200HydraView + + public function getHydraView(): ?ReferralOnPremiseRequestsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param ReferralOnPremiseRequestsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(ReferralOnPremiseRequestsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?ReferralOnPremiseRequestsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return ReferralOnPremiseRequestsGetResponse200HydraSearch - */ - public function getHydraSearch() : ReferralOnPremiseRequestsGetResponse200HydraSearch + + public function getHydraSearch(): ?ReferralOnPremiseRequestsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php index 1e24b76a..714e0e3a 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] + * @return ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php index 5afbb35e..b80d6503 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php index 2f266133..faf80574 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestJsonldReferralRequestRead.php b/src/Model/ReferralRequestJsonldReferralRequestRead.php index 231fe433..b766be59 100644 --- a/src/Model/ReferralRequestJsonldReferralRequestRead.php +++ b/src/Model/ReferralRequestJsonldReferralRequestRead.php @@ -1,358 +1,223 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUserName(): ?string { return $this->userName; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUserName(?string $userName): self { $this->userName = $userName; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): ?string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreationDate() : \DateTime + + public function getCreationDate(): ?\DateTime { return $this->creationDate; } - /** - * - * - * @param \DateTime $creationDate - * - * @return self - */ - public function setCreationDate(\DateTime $creationDate) : self + + public function setCreationDate(?\DateTime $creationDate): self { $this->creationDate = $creationDate; + return $this; } - /** - * - * - * @return string|null - */ - public function getReferralCode() : ?string + + public function getReferralCode(): ?string { return $this->referralCode; } - /** - * - * - * @param string|null $referralCode - * - * @return self - */ - public function setReferralCode(?string $referralCode) : self + + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; + return $this; } - /** - * - * - * @return string|null - */ - public function getApprover() : ?string + + public function getApprover(): ?string { return $this->approver; } - /** - * - * - * @param string|null $approver - * - * @return self - */ - public function setApprover(?string $approver) : self + + public function setApprover(?string $approver): self { $this->approver = $approver; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): ?string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(?string $status): self { $this->status = $status; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestReferralRequestInput.php b/src/Model/ReferralRequestReferralRequestInput.php index d30f9767..321f2959 100644 --- a/src/Model/ReferralRequestReferralRequestInput.php +++ b/src/Model/ReferralRequestReferralRequestInput.php @@ -1,169 +1,105 @@ email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUsername(): ?string { - return $this->userName; + return $this->username; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUsername(?string $username): self { - $this->userName = $userName; + $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): ?string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return string - */ - public function getReferralCode() : string + + public function getReferralCode(): ?string { return $this->referralCode; } - /** - * - * - * @param string $referralCode - * - * @return self - */ - public function setReferralCode(string $referralCode) : self + + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestReferralRequestInputJsonld.php b/src/Model/ReferralRequestReferralRequestInputJsonld.php index c347aa3e..65bd7805 100644 --- a/src/Model/ReferralRequestReferralRequestInputJsonld.php +++ b/src/Model/ReferralRequestReferralRequestInputJsonld.php @@ -1,250 +1,159 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUsername(): ?string { - return $this->userName; + return $this->username; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUsername(?string $username): self { - $this->userName = $userName; + $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): ?string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return string - */ - public function getReferralCode() : string + + public function getReferralCode(): ?string { return $this->referralCode; } - /** - * - * - * @param string $referralCode - * - * @return self - */ - public function setReferralCode(string $referralCode) : self + + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestReferralRequestRead.php b/src/Model/ReferralRequestReferralRequestRead.php index 8b1bcfd3..b1ed5f15 100644 --- a/src/Model/ReferralRequestReferralRequestRead.php +++ b/src/Model/ReferralRequestReferralRequestRead.php @@ -1,277 +1,169 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUserName(): ?string { return $this->userName; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUserName(?string $userName): self { $this->userName = $userName; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): ?string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreationDate() : \DateTime + + public function getCreationDate(): ?\DateTime { return $this->creationDate; } - /** - * - * - * @param \DateTime $creationDate - * - * @return self - */ - public function setCreationDate(\DateTime $creationDate) : self + + public function setCreationDate(?\DateTime $creationDate): self { $this->creationDate = $creationDate; + return $this; } - /** - * - * - * @return string|null - */ - public function getReferralCode() : ?string + + public function getReferralCode(): ?string { return $this->referralCode; } - /** - * - * - * @param string|null $referralCode - * - * @return self - */ - public function setReferralCode(?string $referralCode) : self + + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; + return $this; } - /** - * - * - * @return string|null - */ - public function getApprover() : ?string + + public function getApprover(): ?string { return $this->approver; } - /** - * - * - * @param string|null $approver - * - * @return self - */ - public function setApprover(?string $approver) : self + + public function setApprover(?string $approver): self { $this->approver = $approver; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): ?string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(?string $status): self { $this->status = $status; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200.php b/src/Model/ReferralRequestsGetResponse200.php index da979bd5..9a56274d 100644 --- a/src/Model/ReferralRequestsGetResponse200.php +++ b/src/Model/ReferralRequestsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ReferralRequestJsonldReferralRequestRead[] $hydraMember - * - * @return self + * @param ReferralRequestJsonldReferralRequestRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return ReferralRequestsGetResponse200HydraView - */ - public function getHydraView() : ReferralRequestsGetResponse200HydraView + + public function getHydraView(): ?ReferralRequestsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param ReferralRequestsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(ReferralRequestsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?ReferralRequestsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return ReferralRequestsGetResponse200HydraSearch - */ - public function getHydraSearch() : ReferralRequestsGetResponse200HydraSearch + + public function getHydraSearch(): ?ReferralRequestsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param ReferralRequestsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(ReferralRequestsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?ReferralRequestsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200HydraSearch.php b/src/Model/ReferralRequestsGetResponse200HydraSearch.php index 1d4bf3c9..b9aa2158 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraSearch.php +++ b/src/Model/ReferralRequestsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] + * @return ReferralRequestsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param ReferralRequestsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php index 39db0cf6..87d335f9 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200HydraView.php b/src/Model/ReferralRequestsGetResponse200HydraView.php index bec879f4..8114be52 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraView.php +++ b/src/Model/ReferralRequestsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200.php b/src/Model/RuntimeActionsGetResponse200.php index 812b68a6..196d7364 100644 --- a/src/Model/RuntimeActionsGetResponse200.php +++ b/src/Model/RuntimeActionsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ActionJsonldRead[] $hydraMember - * - * @return self + * @param ActionJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeActionsGetResponse200HydraView - */ - public function getHydraView() : RuntimeActionsGetResponse200HydraView + + public function getHydraView(): ?RuntimeActionsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeActionsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeActionsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeActionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeActionsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeActionsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeActionsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeActionsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeActionsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeActionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200HydraSearch.php b/src/Model/RuntimeActionsGetResponse200HydraSearch.php index fc064ccc..d758680d 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeActionsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeActionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeActionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php index 86275f99..7a218fb2 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200HydraView.php b/src/Model/RuntimeActionsGetResponse200HydraView.php index 14fd3a08..b33e5c01 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraView.php +++ b/src/Model/RuntimeActionsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php index a2dacc43..823d7ab5 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionPipelineStepJsonld[] $hydraMember - * - * @return self + * @param ExecutionPipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php index 831ca9eb..18d12191 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php index 10ece346..b018311f 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php index d72d8e89..abc40026 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php index a7859095..fcccb7d9 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionPipelineJsonld[] $hydraMember - * - * @return self + * @param ExecutionPipelineJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionPipelinesGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionExecutionPipelinesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php index 41e1245f..ca59c019 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php index 46ff4382..690a1f48 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php index eae2bf1f..a62f9d24 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php index 3a779de9..60e55836 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionWorkflowJobJsonld[] $hydraMember - * - * @return self + * @param ExecutionWorkflowJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php index 3c3661e8..60274ea6 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php index d1fc14a1..cf44ec56 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php index 0ae4c726..2a8d7cbb 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php index 27796760..91641769 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionWorkflowJsonld[] $hydraMember - * - * @return self + * @param ExecutionWorkflowJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionWorkflowsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionExecutionWorkflowsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php index c74b0b72..dcf74a4b 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php index 8c93e42d..3e10970f 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php index 7d642287..b6c062af 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php index 82bcc87f..1dd3106a 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionWorkflowJobJsonld[] $hydraMember - * - * @return self + * @param ExecutionWorkflowJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionIdWorkflowJobsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionIdWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php index bcbd0fd4..d8be9021 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index fae182b8..d0ff8350 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php index e55fdd24..b753bf19 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php index c7f75cdb..a73e222e 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionPipelineStepJsonld[] $hydraMember - * - * @return self + * @param ExecutionPipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php index 6505e84c..9b11e1db 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php index fdcbcf94..2620c38b 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php index 3a86b57a..a5e30872 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php index 391a7b3e..d3d5b809 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionPipelineJobJsonld[] $hydraMember - * - * @return self + * @param ExecutionPipelineJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionPipelineJobsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionPipelineJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionPipelineJobsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionPipelineJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php index 2e6e25f4..a43b3aae 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php index 14b8592b..de7c9564 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php index b5a7717e..c95e573d 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php index 00b61ed2..bf60605f 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionPipelineStepJsonld[] $hydraMember - * - * @return self + * @param ExecutionPipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php index 5269478a..2b5fe829 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php index 13b0ffae..fc47ae0c 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php index 73f280c1..4bc22267 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php index 76269f30..c1e34c8b 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionWorkflowJobJsonld[] $hydraMember - * - * @return self + * @param ExecutionWorkflowJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php index f23de27a..64f93c64 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index 263facc4..1978cbb5 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php index 0a43271f..982ee4ed 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200.php b/src/Model/RuntimeExecutionsGetResponse200.php index 4ee5505a..fcfa073f 100644 --- a/src/Model/RuntimeExecutionsGetResponse200.php +++ b/src/Model/RuntimeExecutionsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionJsonldRead[] $hydraMember - * - * @return self + * @param ExecutionJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionsGetResponse200HydraView + + public function getHydraView(): ?RuntimeExecutionsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeExecutionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeExecutionsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeExecutionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php index cf8cc906..13fded24 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php index 84915c17..cab70a71 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraView.php b/src/Model/RuntimeExecutionsGetResponse200HydraView.php index 768c7be7..d9b606df 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php index 74982aa6..d10d2bf6 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param PipelineCompilationJsonld[] $hydraMember - * - * @return self + * @param PipelineCompilationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineIdCompilationsGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineIdCompilationsGetResponse200HydraView + + public function getHydraView(): ?RuntimePipelineIdCompilationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineIdCompilationsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineIdCompilationsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimePipelineIdCompilationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php index 0fdba66f..f2f6a5a1 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php index 3e940ebe..79111786 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php index ac405510..7fc05b7e 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200.php index 61f62ea8..c3ea5f84 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param PipelineStepProbeJsonld[] $hydraMember - * - * @return self + * @param PipelineStepProbeJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineStepIdProbesGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineStepIdProbesGetResponse200HydraView + + public function getHydraView(): ?RuntimePipelineStepIdProbesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineStepIdProbesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineStepIdProbesGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimePipelineStepIdProbesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php index a883d979..adedaa7d 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php index 4c83d7a4..9db3ade0 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php index fe84afe2..2ded004e 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200.php b/src/Model/RuntimePipelineStepProbesGetResponse200.php index 0092a5ca..d7bbc87c 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param PipelineStepProbeJsonld[] $hydraMember - * - * @return self + * @param PipelineStepProbeJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineStepProbesGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineStepProbesGetResponse200HydraView + + public function getHydraView(): ?RuntimePipelineStepProbesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineStepProbesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineStepProbesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimePipelineStepProbesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineStepProbesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineStepProbesGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimePipelineStepProbesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php index 58cafe7d..ee314f54 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php index daf53f4e..ca4e615a 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php index b8cee98a..2e954769 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200.php b/src/Model/RuntimePipelineStepsGetResponse200.php index e743e8bb..ef519709 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200.php +++ b/src/Model/RuntimePipelineStepsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param PipelineStepJsonld[] $hydraMember - * - * @return self + * @param PipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineStepsGetResponse200HydraView + + public function getHydraView(): ?RuntimePipelineStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimePipelineStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineStepsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimePipelineStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php index 1e559d06..0a38d442 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php index fc611fac..a8c4d98b 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraView.php b/src/Model/RuntimePipelineStepsGetResponse200HydraView.php index ab166c0e..7e27a9be 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200.php b/src/Model/RuntimePipelinesCompilationGetResponse200.php index 8b2f2827..1eeb8efe 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param PipelineCompilationJsonld[] $hydraMember - * - * @return self + * @param PipelineCompilationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelinesCompilationGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelinesCompilationGetResponse200HydraView + + public function getHydraView(): ?RuntimePipelinesCompilationGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelinesCompilationGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelinesCompilationGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimePipelinesCompilationGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelinesCompilationGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelinesCompilationGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimePipelinesCompilationGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php index 0dddd9f4..75470460 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php index 48b54516..7a2111fd 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php index 944909fb..72fd5577 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200.php b/src/Model/RuntimePipelinesGetResponse200.php index 32780b96..cd927cbb 100644 --- a/src/Model/RuntimePipelinesGetResponse200.php +++ b/src/Model/RuntimePipelinesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param PipelineJsonldRead[] $hydraMember - * - * @return self + * @param PipelineJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelinesGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelinesGetResponse200HydraView + + public function getHydraView(): ?RuntimePipelinesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelinesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelinesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimePipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelinesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelinesGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimePipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelinesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelinesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimePipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesGetResponse200HydraSearch.php index 9cb5b6bc..871f4e75 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php index 4a567cc9..78a0f085 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200HydraView.php b/src/Model/RuntimePipelinesGetResponse200HydraView.php index 28e673f1..b9268906 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php index 04553c06..8a87510c 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ExecutionJsonldRead[] $hydraMember - * - * @return self + * @param ExecutionJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeScheduleIdExecutionsGetResponse200HydraView - */ - public function getHydraView() : RuntimeScheduleIdExecutionsGetResponse200HydraView + + public function getHydraView(): ?RuntimeScheduleIdExecutionsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeScheduleIdExecutionsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeScheduleIdExecutionsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php index b6edde28..6a16f89a 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php index a437c628..79eab7f1 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php index 7d0193c9..61eb6402 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php index c8648ce7..f70622b6 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param WorkflowJobJsonldRead[] $hydraMember - * - * @return self + * @param WorkflowJobJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeScheduleIdWorkflowJobsGetResponse200HydraView + + public function getHydraView(): ?RuntimeScheduleIdWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php index 92ef5ac8..07ff1314 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index 78055f58..b0011309 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php index 600d74a8..b7d40ef5 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200.php b/src/Model/RuntimeSchedulesGetResponse200.php index 0c6935b8..9e33ec09 100644 --- a/src/Model/RuntimeSchedulesGetResponse200.php +++ b/src/Model/RuntimeSchedulesGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param ScheduleJsonld[] $hydraMember - * - * @return self + * @param ScheduleJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeSchedulesGetResponse200HydraView - */ - public function getHydraView() : RuntimeSchedulesGetResponse200HydraView + + public function getHydraView(): ?RuntimeSchedulesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeSchedulesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeSchedulesGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeSchedulesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeSchedulesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeSchedulesGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeSchedulesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeSchedulesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeSchedulesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeSchedulesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php b/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php index 0270bda8..840fa638 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php index 6ad8d24b..779c4b85 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraView.php b/src/Model/RuntimeSchedulesGetResponse200HydraView.php index 30261ae1..cc1bee72 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraView.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200.php index 15a70eea..be103e88 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param WorkflowJobJsonldRead[] $hydraMember - * - * @return self + * @param WorkflowJobJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeWorkflowIdJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeWorkflowIdJobsGetResponse200HydraView + + public function getHydraView(): ?RuntimeWorkflowIdJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeWorkflowIdJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeWorkflowIdJobsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeWorkflowIdJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php index 4d92d91f..0522d39f 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php index 7f790960..d01c470d 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php index 9f265af0..8bc58d1d 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200.php b/src/Model/RuntimeWorkflowsGetResponse200.php index 77c19e61..cddb00a6 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200.php +++ b/src/Model/RuntimeWorkflowsGetResponse200.php @@ -1,115 +1,79 @@ hydraMember; } + /** - * - * - * @param WorkflowJsonldRead[] $hydraMember - * - * @return self + * @param WorkflowJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeWorkflowsGetResponse200HydraView - */ - public function getHydraView() : RuntimeWorkflowsGetResponse200HydraView + + public function getHydraView(): ?RuntimeWorkflowsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeWorkflowsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeWorkflowsGetResponse200HydraView $hydraView) : self + + public function setHydraView(?RuntimeWorkflowsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeWorkflowsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeWorkflowsGetResponse200HydraSearch + + public function getHydraSearch(): ?RuntimeWorkflowsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(?RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php index 6705185e..5b2e57f6 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php @@ -1,115 +1,79 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * - * @return RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping() : array + public function getHydraMapping(): ?array { return $this->hydraMapping; } + /** - * - * - * @param RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self + * @param RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php index 6f118080..49f1fd6b 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php @@ -1,115 +1,73 @@ type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): ?string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(?string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): ?bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(?bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowsGetResponse200HydraView.php index 8d6a9acb..d919b997 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraView.php @@ -1,169 +1,105 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): ?string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): ?string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): ?string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Schedule.php b/src/Model/Schedule.php index 1d330983..961be2a3 100644 --- a/src/Model/Schedule.php +++ b/src/Model/Schedule.php @@ -1,331 +1,207 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartAt() : ?\DateTime + + public function getStartAt(): ?\DateTime { return $this->startAt; } - /** - * - * - * @param \DateTime|null $startAt - * - * @return self - */ - public function setStartAt(?\DateTime $startAt) : self + + public function setStartAt(?\DateTime $startAt): self { $this->startAt = $startAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getInterval() : ?string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string|null $interval - * - * @return self - */ - public function setInterval(?string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getEndAt() : ?\DateTime + + public function getEndAt(): ?\DateTime { return $this->endAt; } - /** - * - * - * @param \DateTime|null $endAt - * - * @return self - */ - public function setEndAt(?\DateTime $endAt) : self + + public function setEndAt(?\DateTime $endAt): self { $this->endAt = $endAt; + return $this; } - /** - * - * - * @return int|null - */ - public function getRecurrences() : ?int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int|null $recurrences - * - * @return self - */ - public function setRecurrences(?int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getExecutions() : array + public function getExecutions(): ?array { return $this->executions; } + /** - * - * - * @param string[] $executions - * - * @return self + * @param string[]|null $executions */ - public function setExecutions(array $executions) : self + public function setExecutions(?array $executions): self { $this->executions = $executions; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): ?string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(?string $owner): self { $this->owner = $owner; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php index 1ca52c35..bbab67bf 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php @@ -1,88 +1,75 @@ id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php index adf8aef4..5228e99f 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php @@ -1,61 +1,41 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php index 0303859c..c37649b7 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php index b07b008b..4fe85198 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php @@ -1,169 +1,111 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): ?UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(?UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php index 54de327f..6668e8b2 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php @@ -1,115 +1,91 @@ id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): ?\DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(?\DateTime $date): self { $this->date = $date; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php index 5f31f0f1..bb8ee16b 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php @@ -1,61 +1,41 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): ?\DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(?\DateTime $date): self { $this->date = $date; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php index 15340ffe..26a05d69 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): ?\DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(?\DateTime $date): self { $this->date = $date; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php index 7cfb6a11..111f744e 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php @@ -1,196 +1,127 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): ?\DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(?\DateTime $date): self { $this->date = $date; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): ?UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(?UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php index 22803878..5224d5d3 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php @@ -1,169 +1,123 @@ id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php index 346d7afb..9f5bf4b4 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php @@ -1,115 +1,73 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php index 27f54952..031de871 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php @@ -1,196 +1,127 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php index d13fcbcb..5afcccb9 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php @@ -1,250 +1,159 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): ?UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(?UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php index 2f3063a5..43949631 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php @@ -1,169 +1,123 @@ id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): ?\DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(?\DateTime $end): self { $this->end = $end; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php index 449be168..85e632a1 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php @@ -1,115 +1,73 @@ pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): ?\DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(?\DateTime $end): self { $this->end = $end; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php index 1d058767..7a7d5c89 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php @@ -1,196 +1,127 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): ?\DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(?\DateTime $end): self { $this->end = $end; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php index fd8179b5..e52ea810 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php @@ -1,250 +1,159 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): ?\DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(?\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): ?\DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(?\DateTime $end): self { $this->end = $end; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): ?UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(?UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleIdJsonld.php b/src/Model/ScheduleIdJsonld.php index f58431df..c7297eab 100644 --- a/src/Model/ScheduleIdJsonld.php +++ b/src/Model/ScheduleIdJsonld.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleJsonld.php b/src/Model/ScheduleJsonld.php index edaa0d6b..db5bad0d 100644 --- a/src/Model/ScheduleJsonld.php +++ b/src/Model/ScheduleJsonld.php @@ -1,412 +1,261 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getType2() : string + + public function getType2(): ?string { return $this->type2; } - /** - * - * - * @param string $type2 - * - * @return self - */ - public function setType2(string $type2) : self + + public function setType2(?string $type2): self { $this->type2 = $type2; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartAt() : ?\DateTime + + public function getStartAt(): ?\DateTime { return $this->startAt; } - /** - * - * - * @param \DateTime|null $startAt - * - * @return self - */ - public function setStartAt(?\DateTime $startAt) : self + + public function setStartAt(?\DateTime $startAt): self { $this->startAt = $startAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getInterval() : ?string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string|null $interval - * - * @return self - */ - public function setInterval(?string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getEndAt() : ?\DateTime + + public function getEndAt(): ?\DateTime { return $this->endAt; } - /** - * - * - * @param \DateTime|null $endAt - * - * @return self - */ - public function setEndAt(?\DateTime $endAt) : self + + public function setEndAt(?\DateTime $endAt): self { $this->endAt = $endAt; + return $this; } - /** - * - * - * @return int|null - */ - public function getRecurrences() : ?int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int|null $recurrences - * - * @return self - */ - public function setRecurrences(?int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getExecutions() : array + public function getExecutions(): ?array { return $this->executions; } + /** - * - * - * @param string[] $executions - * - * @return self + * @param string[]|null $executions */ - public function setExecutions(array $executions) : self + public function setExecutions(?array $executions): self { $this->executions = $executions; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): ?string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(?string $owner): self { $this->owner = $owner; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Secret.php b/src/Model/Secret.php index e0f23846..e03555e3 100644 --- a/src/Model/Secret.php +++ b/src/Model/Secret.php @@ -1,169 +1,111 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): ?string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(?string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretConfigMapInput.php b/src/Model/SecretConfigMapInput.php deleted file mode 100644 index 15713b33..00000000 --- a/src/Model/SecretConfigMapInput.php +++ /dev/null @@ -1,88 +0,0 @@ -name; - } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self - { - $this->name = $name; - return $this; - } - /** - * - * - * @return string - */ - public function getDescription() : string - { - return $this->description; - } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self - { - $this->description = $description; - return $this; - } - /** - * - * - * @return ConfigMapValueInput - */ - public function getConfigs() : ConfigMapValueInput - { - return $this->configs; - } - /** - * - * - * @param ConfigMapValueInput $configs - * - * @return self - */ - public function setConfigs(ConfigMapValueInput $configs) : self - { - $this->configs = $configs; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/SecretConfigMapInputJsonld.php b/src/Model/SecretConfigMapInputJsonld.php deleted file mode 100644 index f26d9e71..00000000 --- a/src/Model/SecretConfigMapInputJsonld.php +++ /dev/null @@ -1,169 +0,0 @@ -context; - } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self - { - $this->context = $context; - return $this; - } - /** - * - * - * @return string - */ - public function getId() : string - { - return $this->id; - } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self - { - $this->id = $id; - return $this; - } - /** - * - * - * @return string - */ - public function getType() : string - { - return $this->type; - } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self - { - $this->type = $type; - return $this; - } - /** - * - * - * @return string - */ - public function getName() : string - { - return $this->name; - } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self - { - $this->name = $name; - return $this; - } - /** - * - * - * @return string - */ - public function getDescription() : string - { - return $this->description; - } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self - { - $this->description = $description; - return $this; - } - /** - * - * - * @return ConfigMapValueInputJsonld - */ - public function getConfigs() : ConfigMapValueInputJsonld - { - return $this->configs; - } - /** - * - * - * @param ConfigMapValueInputJsonld $configs - * - * @return self - */ - public function setConfigs(ConfigMapValueInputJsonld $configs) : self - { - $this->configs = $configs; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/SecretInput.php b/src/Model/SecretInput.php new file mode 100644 index 00000000..17170bb5 --- /dev/null +++ b/src/Model/SecretInput.php @@ -0,0 +1,63 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretInputJsonld.php b/src/Model/SecretInputJsonld.php new file mode 100644 index 00000000..858a5427 --- /dev/null +++ b/src/Model/SecretInputJsonld.php @@ -0,0 +1,117 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?iterable + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretJsonld.php b/src/Model/SecretJsonld.php index cb36bed1..e4dadcda 100644 --- a/src/Model/SecretJsonld.php +++ b/src/Model/SecretJsonld.php @@ -1,250 +1,159 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): ?string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(?string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return TraversableJsonld - */ - public function getIterator() : TraversableJsonld + + public function getIterator(): ?TraversableJsonld { return $this->iterator; } - /** - * - * - * @param TraversableJsonld $iterator - * - * @return self - */ - public function setIterator(TraversableJsonld $iterator) : self + + public function setIterator(?TraversableJsonld $iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretSecretInput.php b/src/Model/SecretSecretInput.php index 8c30f5ba..07bde26f 100644 --- a/src/Model/SecretSecretInput.php +++ b/src/Model/SecretSecretInput.php @@ -1,88 +1,63 @@ name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): ?string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(?string $description): self { $this->description = $description; + return $this; } + /** - * - * - * @return SecretValueInput + * @return string[]|null */ - public function getSecrets() : SecretValueInput + public function getContents(): ?iterable { - return $this->secrets; + return $this->contents; } + /** - * - * - * @param SecretValueInput $secrets - * - * @return self + * @param string[]|null $contents */ - public function setSecrets(SecretValueInput $secrets) : self + public function setContents(?iterable $contents): self { - $this->secrets = $secrets; + $this->contents = $contents; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretSecretInputJsonld.php b/src/Model/SecretSecretInputJsonld.php index d7a7833c..019d9fb6 100644 --- a/src/Model/SecretSecretInputJsonld.php +++ b/src/Model/SecretSecretInputJsonld.php @@ -1,169 +1,117 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): ?string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(?string $description): self { $this->description = $description; + return $this; } + /** - * - * - * @return SecretValueInputJsonld + * @return string[]|null */ - public function getSecrets() : SecretValueInputJsonld + public function getContents(): ?iterable { - return $this->secrets; + return $this->contents; } + /** - * - * - * @param SecretValueInputJsonld $secrets - * - * @return self + * @param string[]|null $contents */ - public function setSecrets(SecretValueInputJsonld $secrets) : self + public function setContents(?iterable $contents): self { - $this->secrets = $secrets; + $this->contents = $contents; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretValueInput.php b/src/Model/SecretValueInput.php deleted file mode 100644 index f8c5fbb2..00000000 --- a/src/Model/SecretValueInput.php +++ /dev/null @@ -1,115 +0,0 @@ -arrayCopy; - } - /** - * - * - * @param mixed $arrayCopy - * - * @return self - */ - public function setArrayCopy($arrayCopy) : self - { - $this->arrayCopy = $arrayCopy; - return $this; - } - /** - * - * - * @return int - */ - public function getFlags() : int - { - return $this->flags; - } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self - { - $this->flags = $flags; - return $this; - } - /** - * - * - * @return mixed - */ - public function getIterator() - { - return $this->iterator; - } - /** - * - * - * @param mixed $iterator - * - * @return self - */ - public function setIterator($iterator) : self - { - $this->iterator = $iterator; - return $this; - } - /** - * - * - * @return string - */ - public function getIteratorClass() : string - { - return $this->iteratorClass; - } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self - { - $this->iteratorClass = $iteratorClass; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/SecretValueInputJsonld.php b/src/Model/SecretValueInputJsonld.php deleted file mode 100644 index dbe2f847..00000000 --- a/src/Model/SecretValueInputJsonld.php +++ /dev/null @@ -1,196 +0,0 @@ -context; - } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self - { - $this->context = $context; - return $this; - } - /** - * - * - * @return string - */ - public function getId() : string - { - return $this->id; - } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self - { - $this->id = $id; - return $this; - } - /** - * - * - * @return string - */ - public function getType() : string - { - return $this->type; - } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self - { - $this->type = $type; - return $this; - } - /** - * - * - * @return mixed - */ - public function getArrayCopy() - { - return $this->arrayCopy; - } - /** - * - * - * @param mixed $arrayCopy - * - * @return self - */ - public function setArrayCopy($arrayCopy) : self - { - $this->arrayCopy = $arrayCopy; - return $this; - } - /** - * - * - * @return int - */ - public function getFlags() : int - { - return $this->flags; - } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self - { - $this->flags = $flags; - return $this; - } - /** - * - * - * @return mixed - */ - public function getIterator() - { - return $this->iterator; - } - /** - * - * - * @param mixed $iterator - * - * @return self - */ - public function setIterator($iterator) : self - { - $this->iterator = $iterator; - return $this; - } - /** - * - * - * @return string - */ - public function getIteratorClass() : string - { - return $this->iteratorClass; - } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self - { - $this->iteratorClass = $iteratorClass; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/StepInput.php b/src/Model/StepInput.php index 07f7c581..53042de6 100644 --- a/src/Model/StepInput.php +++ b/src/Model/StepInput.php @@ -1,115 +1,85 @@ code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfig() : iterable + public function getConfig(): ?iterable { return $this->config; } + /** - * - * - * @param string[][] $config - * - * @return self + * @param string[][]|null $config */ - public function setConfig(iterable $config) : self + public function setConfig(?iterable $config): self { $this->config = $config; + return $this; } + /** - * - * - * @return Probe[] + * @return Probe[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param Probe[] $probes - * - * @return self + * @param Probe[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/StepInputJsonld.php b/src/Model/StepInputJsonld.php index 573c0219..ec33d566 100644 --- a/src/Model/StepInputJsonld.php +++ b/src/Model/StepInputJsonld.php @@ -1,196 +1,139 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return string[][] + * @return string[][]|null */ - public function getConfig() : iterable + public function getConfig(): ?iterable { return $this->config; } + /** - * - * - * @param string[][] $config - * - * @return self + * @param string[][]|null $config */ - public function setConfig(iterable $config) : self + public function setConfig(?iterable $config): self { $this->config = $config; + return $this; } + /** - * - * - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes() : array + public function getProbes(): ?array { return $this->probes; } + /** - * - * - * @param ProbeJsonld[] $probes - * - * @return self + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes) : self + public function setProbes(?array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php new file mode 100644 index 00000000..9171357e --- /dev/null +++ b/src/Model/Subscription.php @@ -0,0 +1,117 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getOffer(): ?string + { + return $this->offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + /** + * @return string[]|null + */ + public function getOptions(): ?array + { + return $this->options; + } + + /** + * @param string[]|null $options + */ + public function setOptions(?array $options): self + { + $this->options = $options; + + return $this; + } + + public function getCost(): ?Price + { + return $this->cost; + } + + public function setCost(?Price $cost): self + { + $this->cost = $cost; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPeriods(): ?iterable + { + return $this->periods; + } + + /** + * @param string[]|null $periods + */ + public function setPeriods(?iterable $periods): self + { + $this->periods = $periods; + + return $this; + } +} diff --git a/src/Model/SubscriptionJsonld.php b/src/Model/SubscriptionJsonld.php new file mode 100644 index 00000000..b205be29 --- /dev/null +++ b/src/Model/SubscriptionJsonld.php @@ -0,0 +1,171 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getOffer(): ?string + { + return $this->offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + /** + * @return string[]|null + */ + public function getOptions(): ?array + { + return $this->options; + } + + /** + * @param string[]|null $options + */ + public function setOptions(?array $options): self + { + $this->options = $options; + + return $this; + } + + public function getCost(): ?PriceJsonld + { + return $this->cost; + } + + public function setCost(?PriceJsonld $cost): self + { + $this->cost = $cost; + + return $this; + } + + /** + * @return string[]|null + */ + public function getPeriods(): ?iterable + { + return $this->periods; + } + + /** + * @param string[]|null $periods + */ + public function setPeriods(?iterable $periods): self + { + $this->periods = $periods; + + return $this; + } +} diff --git a/src/Model/SubscriptionOption.php b/src/Model/SubscriptionOption.php new file mode 100644 index 00000000..dc62667c --- /dev/null +++ b/src/Model/SubscriptionOption.php @@ -0,0 +1,73 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getSubscription(): ?string + { + return $this->subscription; + } + + public function setSubscription(?string $subscription): self + { + $this->subscription = $subscription; + + return $this; + } + + public function getOption(): ?string + { + return $this->option; + } + + public function setOption(?string $option): self + { + $this->option = $option; + + return $this; + } + + public function getPrice(): ?Price + { + return $this->price; + } + + public function setPrice(?Price $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/SubscriptionOptionJsonld.php b/src/Model/SubscriptionOptionJsonld.php new file mode 100644 index 00000000..e4184b0e --- /dev/null +++ b/src/Model/SubscriptionOptionJsonld.php @@ -0,0 +1,105 @@ +id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + public function getId2(): ?string + { + return $this->id2; + } + + public function setId2(?string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getSubscription(): ?string + { + return $this->subscription; + } + + public function setSubscription(?string $subscription): self + { + $this->subscription = $subscription; + + return $this; + } + + public function getOption(): ?string + { + return $this->option; + } + + public function setOption(?string $option): self + { + $this->option = $option; + + return $this; + } + + public function getPrice(): ?PriceJsonld + { + return $this->price; + } + + public function setPrice(?PriceJsonld $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/Token.php b/src/Model/Token.php index 9771a16d..60546cbe 100644 --- a/src/Model/Token.php +++ b/src/Model/Token.php @@ -1,34 +1,25 @@ token; } - /** - * - * - * @param string $token - * - * @return self - */ - public function setToken(string $token) : self + + public function setToken(?string $token): self { $this->token = $token; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/TraversableJsonld.php b/src/Model/TraversableJsonld.php index ea58e0c3..01601b07 100644 --- a/src/Model/TraversableJsonld.php +++ b/src/Model/TraversableJsonld.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UpdateList.php b/src/Model/UpdateList.php index 3b1c6774..10c99080 100644 --- a/src/Model/UpdateList.php +++ b/src/Model/UpdateList.php @@ -1,34 +1,31 @@ iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UpdateListJsonld.php b/src/Model/UpdateListJsonld.php index 71d5ff43..a303aade 100644 --- a/src/Model/UpdateListJsonld.php +++ b/src/Model/UpdateListJsonld.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return TraversableJsonld - */ - public function getIterator() : TraversableJsonld + + public function getIterator(): ?TraversableJsonld { return $this->iterator; } - /** - * - * - * @param TraversableJsonld $iterator - * - * @return self - */ - public function setIterator(TraversableJsonld $iterator) : self + + public function setIterator(?TraversableJsonld $iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/User.php b/src/Model/User.php index cd7ad07e..b6ebb5ce 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1,493 +1,339 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUsername() : string + + public function getUsername(): ?string { return $this->username; } - /** - * - * - * @param string $username - * - * @return self - */ - public function setUsername(string $username) : self + + public function setUsername(?string $username): self { $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getPassword() : string + + public function getPassword(): ?string { return $this->password; } - /** - * - * - * @param string $password - * - * @return self - */ - public function setPassword(string $password) : self + + public function setPassword(?string $password): self { $this->password = $password; + return $this; } - /** - * - * - * @return bool - */ - public function getEnabled() : bool + + public function getEnabled(): ?bool { return $this->enabled; } - /** - * - * - * @param bool $enabled - * - * @return self - */ - public function setEnabled(bool $enabled) : self + + public function setEnabled(?bool $enabled): self { $this->enabled = $enabled; + return $this; } + /** - * - * - * @return string[] + * @return string[][]|null */ - public function getRoles() : array + public function getRoles(): ?array { return $this->roles; } + /** - * - * - * @param string[] $roles - * - * @return self + * @param string[][]|null $roles */ - public function setRoles(array $roles) : self + public function setRoles(?array $roles): self { $this->roles = $roles; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAdditionalOrganizations() : array + public function getAdditionalOrganizations(): ?array { return $this->additionalOrganizations; } + /** - * - * - * @param string[] $additionalOrganizations - * - * @return self + * @param string[]|null $additionalOrganizations */ - public function setAdditionalOrganizations(array $additionalOrganizations) : self + public function setAdditionalOrganizations(?array $additionalOrganizations): self { $this->additionalOrganizations = $additionalOrganizations; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getWorkspaces() : array + public function getWorkspaces(): ?array { return $this->workspaces; } + /** - * - * - * @param string[] $workspaces - * - * @return self + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; + return $this; } - /** - * - * - * @return string|null - */ - public function getCurrentWorkspace() : ?string + + public function getCurrentWorkspace(): ?string { return $this->currentWorkspace; } - /** - * - * - * @param string|null $currentWorkspace - * - * @return self - */ - public function setCurrentWorkspace(?string $currentWorkspace) : self + + public function setCurrentWorkspace(?string $currentWorkspace): self { $this->currentWorkspace = $currentWorkspace; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getReferralCodes() : array + public function getReferralCodes(): ?array { return $this->referralCodes; } + /** - * - * - * @param string[] $referralCodes - * - * @return self + * @param string[]|null $referralCodes */ - public function setReferralCodes(array $referralCodes) : self + public function setReferralCodes(?array $referralCodes): self { $this->referralCodes = $referralCodes; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAcceptedReferralRequests() : array + public function getAcceptedReferralRequests(): ?array { return $this->acceptedReferralRequests; } + /** - * - * - * @param string[] $acceptedReferralRequests - * - * @return self + * @param string[]|null $acceptedReferralRequests */ - public function setAcceptedReferralRequests(array $acceptedReferralRequests) : self + public function setAcceptedReferralRequests(?array $acceptedReferralRequests): self { $this->acceptedReferralRequests = $acceptedReferralRequests; + return $this; } - /** - * - * - * @return string - */ - public function getUserIdentifier() : string + + public function getUserIdentifier(): ?string { return $this->userIdentifier; } - /** - * - * - * @param string $userIdentifier - * - * @return self - */ - public function setUserIdentifier(string $userIdentifier) : self + + public function setUserIdentifier(?string $userIdentifier): self { $this->userIdentifier = $userIdentifier; + return $this; } - /** - * - * - * @return string - */ - public function getSalt() : string + + public function getSalt(): ?string { return $this->salt; } - /** - * - * - * @param string $salt - * - * @return self - */ - public function setSalt(string $salt) : self + + public function setSalt(?string $salt): self { $this->salt = $salt; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getWorkspace() : array + public function getWorkspace(): ?array { return $this->workspace; } + /** - * - * - * @param string[] $workspace - * - * @return self + * @param string[]|null $workspace */ - public function setWorkspace(array $workspace) : self + public function setWorkspace(?array $workspace): self { $this->workspace = $workspace; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserAuthorization.php b/src/Model/UserAuthorization.php index 225946c8..734b6caa 100644 --- a/src/Model/UserAuthorization.php +++ b/src/Model/UserAuthorization.php @@ -1,169 +1,111 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getResource() : string + + public function getResource(): ?string { return $this->resource; } - /** - * - * - * @param string $resource - * - * @return self - */ - public function setResource(string $resource) : self + + public function setResource(?string $resource): self { $this->resource = $resource; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserAuthorizationJsonld.php b/src/Model/UserAuthorizationJsonld.php index b90a3e4f..b8018425 100644 --- a/src/Model/UserAuthorizationJsonld.php +++ b/src/Model/UserAuthorizationJsonld.php @@ -1,250 +1,165 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getResource() : string + + public function getResource(): ?string { return $this->resource; } - /** - * - * - * @param string $resource - * - * @return self - */ - public function setResource(string $resource) : self + + public function setResource(?string $resource): self { $this->resource = $resource; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserIdJsonld.php b/src/Model/UserIdJsonld.php index 00c63c58..c7725f8a 100644 --- a/src/Model/UserIdJsonld.php +++ b/src/Model/UserIdJsonld.php @@ -1,88 +1,63 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserJsonld.php b/src/Model/UserJsonld.php index 0100ff32..d8566702 100644 --- a/src/Model/UserJsonld.php +++ b/src/Model/UserJsonld.php @@ -1,574 +1,393 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): ?string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): ?string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(?string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUsername() : string + + public function getUsername(): ?string { return $this->username; } - /** - * - * - * @param string $username - * - * @return self - */ - public function setUsername(string $username) : self + + public function setUsername(?string $username): self { $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): ?string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(?string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getPassword() : string + + public function getPassword(): ?string { return $this->password; } - /** - * - * - * @param string $password - * - * @return self - */ - public function setPassword(string $password) : self + + public function setPassword(?string $password): self { $this->password = $password; + return $this; } - /** - * - * - * @return bool - */ - public function getEnabled() : bool + + public function getEnabled(): ?bool { return $this->enabled; } - /** - * - * - * @param bool $enabled - * - * @return self - */ - public function setEnabled(bool $enabled) : self + + public function setEnabled(?bool $enabled): self { $this->enabled = $enabled; + return $this; } + /** - * - * - * @return string[] + * @return string[][]|null */ - public function getRoles() : array + public function getRoles(): ?array { return $this->roles; } + /** - * - * - * @param string[] $roles - * - * @return self + * @param string[][]|null $roles */ - public function setRoles(array $roles) : self + public function setRoles(?array $roles): self { $this->roles = $roles; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAdditionalOrganizations() : array + public function getAdditionalOrganizations(): ?array { return $this->additionalOrganizations; } + /** - * - * - * @param string[] $additionalOrganizations - * - * @return self + * @param string[]|null $additionalOrganizations */ - public function setAdditionalOrganizations(array $additionalOrganizations) : self + public function setAdditionalOrganizations(?array $additionalOrganizations): self { $this->additionalOrganizations = $additionalOrganizations; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getWorkspaces() : array + public function getWorkspaces(): ?array { return $this->workspaces; } + /** - * - * - * @param string[] $workspaces - * - * @return self + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; + return $this; } - /** - * - * - * @return string|null - */ - public function getCurrentWorkspace() : ?string + + public function getCurrentWorkspace(): ?string { return $this->currentWorkspace; } - /** - * - * - * @param string|null $currentWorkspace - * - * @return self - */ - public function setCurrentWorkspace(?string $currentWorkspace) : self + + public function setCurrentWorkspace(?string $currentWorkspace): self { $this->currentWorkspace = $currentWorkspace; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getReferralCodes() : array + public function getReferralCodes(): ?array { return $this->referralCodes; } + /** - * - * - * @param string[] $referralCodes - * - * @return self + * @param string[]|null $referralCodes */ - public function setReferralCodes(array $referralCodes) : self + public function setReferralCodes(?array $referralCodes): self { $this->referralCodes = $referralCodes; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAcceptedReferralRequests() : array + public function getAcceptedReferralRequests(): ?array { return $this->acceptedReferralRequests; } + /** - * - * - * @param string[] $acceptedReferralRequests - * - * @return self + * @param string[]|null $acceptedReferralRequests */ - public function setAcceptedReferralRequests(array $acceptedReferralRequests) : self + public function setAcceptedReferralRequests(?array $acceptedReferralRequests): self { $this->acceptedReferralRequests = $acceptedReferralRequests; + return $this; } - /** - * - * - * @return string - */ - public function getUserIdentifier() : string + + public function getUserIdentifier(): ?string { return $this->userIdentifier; } - /** - * - * - * @param string $userIdentifier - * - * @return self - */ - public function setUserIdentifier(string $userIdentifier) : self + + public function setUserIdentifier(?string $userIdentifier): self { $this->userIdentifier = $userIdentifier; + return $this; } - /** - * - * - * @return string - */ - public function getSalt() : string + + public function getSalt(): ?string { return $this->salt; } - /** - * - * - * @param string $salt - * - * @return self - */ - public function setSalt(string $salt) : self + + public function setSalt(?string $salt): self { $this->salt = $salt; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getWorkspace() : array + public function getWorkspace(): ?array { return $this->workspace; } + /** - * - * - * @param string[] $workspace - * - * @return self + * @param string[]|null $workspace */ - public function setWorkspace(array $workspace) : self + public function setWorkspace(?array $workspace): self { $this->workspace = $workspace; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserUserChangePasswordInput.php b/src/Model/UserUserChangePasswordInput.php index d3a43351..b8393d1f 100644 --- a/src/Model/UserUserChangePasswordInput.php +++ b/src/Model/UserUserChangePasswordInput.php @@ -1,88 +1,57 @@ currentPassword; } - /** - * - * - * @param string $currentPassword - * - * @return self - */ - public function setCurrentPassword(string $currentPassword) : self + + public function setCurrentPassword(?string $currentPassword): self { $this->currentPassword = $currentPassword; + return $this; } - /** - * - * - * @return string - */ - public function getNewPassword() : string + + public function getNewPassword(): ?string { return $this->newPassword; } - /** - * - * - * @param string $newPassword - * - * @return self - */ - public function setNewPassword(string $newPassword) : self + + public function setNewPassword(?string $newPassword): self { $this->newPassword = $newPassword; + return $this; } - /** - * - * - * @return string - */ - public function getConfirmPassword() : string + + public function getConfirmPassword(): ?string { return $this->confirmPassword; } - /** - * - * - * @param string $confirmPassword - * - * @return self - */ - public function setConfirmPassword(string $confirmPassword) : self + + public function setConfirmPassword(?string $confirmPassword): self { $this->confirmPassword = $confirmPassword; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Variable.php b/src/Model/Variable.php index 15c62c99..d03dd45b 100644 --- a/src/Model/Variable.php +++ b/src/Model/Variable.php @@ -1,88 +1,57 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getEnvironment() : string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string $environment - * - * @return self - */ - public function setEnvironment(string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromConfigMap.php b/src/Model/VariableFromConfigMap.php index a8e593d9..f161e2ff 100644 --- a/src/Model/VariableFromConfigMap.php +++ b/src/Model/VariableFromConfigMap.php @@ -1,142 +1,89 @@ configMap; } - /** - * - * - * @param string|null $configMap - * - * @return self - */ - public function setConfigMap(?string $configMap) : self + + public function setConfigMap(?string $configMap): self { $this->configMap = $configMap; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): ?string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(?string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromConfigMapJsonld.php b/src/Model/VariableFromConfigMapJsonld.php index 4e87fcb8..60157aa9 100644 --- a/src/Model/VariableFromConfigMapJsonld.php +++ b/src/Model/VariableFromConfigMapJsonld.php @@ -1,223 +1,143 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getConfigMap() : ?string + + public function getConfigMap(): ?string { return $this->configMap; } - /** - * - * - * @param string|null $configMap - * - * @return self - */ - public function setConfigMap(?string $configMap) : self + + public function setConfigMap(?string $configMap): self { $this->configMap = $configMap; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): ?string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(?string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromSecret.php b/src/Model/VariableFromSecret.php index e35e7b3b..1eff575d 100644 --- a/src/Model/VariableFromSecret.php +++ b/src/Model/VariableFromSecret.php @@ -1,142 +1,89 @@ secret; } - /** - * - * - * @param string|null $secret - * - * @return self - */ - public function setSecret(?string $secret) : self + + public function setSecret(?string $secret): self { $this->secret = $secret; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): ?string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(?string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromSecretJsonld.php b/src/Model/VariableFromSecretJsonld.php index 4c714b90..ed670c8b 100644 --- a/src/Model/VariableFromSecretJsonld.php +++ b/src/Model/VariableFromSecretJsonld.php @@ -1,223 +1,143 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getSecret() : ?string + + public function getSecret(): ?string { return $this->secret; } - /** - * - * - * @param string|null $secret - * - * @return self - */ - public function setSecret(?string $secret) : self + + public function setSecret(?string $secret): self { $this->secret = $secret; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): ?string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(?string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableJsonld.php b/src/Model/VariableJsonld.php index df4f3d2e..dcf358f9 100644 --- a/src/Model/VariableJsonld.php +++ b/src/Model/VariableJsonld.php @@ -1,169 +1,111 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getEnvironment() : string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string $environment - * - * @return self - */ - public function setEnvironment(string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobAction.php b/src/Model/WorkflowJobAction.php index 549c1a9d..888b69a3 100644 --- a/src/Model/WorkflowJobAction.php +++ b/src/Model/WorkflowJobAction.php @@ -1,61 +1,41 @@ job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobActionJsonld.php b/src/Model/WorkflowJobActionJsonld.php index c3e49cec..683f34f6 100644 --- a/src/Model/WorkflowJobActionJsonld.php +++ b/src/Model/WorkflowJobActionJsonld.php @@ -1,142 +1,95 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobActionJsonldRead.php b/src/Model/WorkflowJobActionJsonldRead.php index 3930e207..cf8e9aae 100644 --- a/src/Model/WorkflowJobActionJsonldRead.php +++ b/src/Model/WorkflowJobActionJsonldRead.php @@ -1,115 +1,79 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobActionRead.php b/src/Model/WorkflowJobActionRead.php index a7af0310..37f28e8e 100644 --- a/src/Model/WorkflowJobActionRead.php +++ b/src/Model/WorkflowJobActionRead.php @@ -1,34 +1,25 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobJsonldRead.php b/src/Model/WorkflowJobJsonldRead.php index 0ce3d132..84fad1de 100644 --- a/src/Model/WorkflowJobJsonldRead.php +++ b/src/Model/WorkflowJobJsonldRead.php @@ -1,169 +1,129 @@ context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(?string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): ?string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(?string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } + /** - * - * * @return mixed */ public function getWorkflow() { return $this->workflow; } + /** - * - * * @param mixed $workflow - * - * @return self */ - public function setWorkflow($workflow) : self + public function setWorkflow($workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipeline.php b/src/Model/WorkflowJobPipeline.php index 9bf203cb..28f2a09b 100644 --- a/src/Model/WorkflowJobPipeline.php +++ b/src/Model/WorkflowJobPipeline.php @@ -1,223 +1,155 @@ job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): ?string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getRuntime() : array + public function getRuntime(): ?array { return $this->runtime; } + /** - * - * - * @param string[] $runtime - * - * @return self + * @param string[]|null $runtime */ - public function setRuntime(array $runtime) : self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAutoload() : array + public function getAutoload(): ?array { return $this->autoload; } + /** - * - * - * @param string[] $autoload - * - * @return self + * @param string[]|null $autoload */ - public function setAutoload(array $autoload) : self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipelineJsonld.php b/src/Model/WorkflowJobPipelineJsonld.php index 74fa5bea..71f5bba8 100644 --- a/src/Model/WorkflowJobPipelineJsonld.php +++ b/src/Model/WorkflowJobPipelineJsonld.php @@ -1,304 +1,209 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): ?string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getRuntime() : array + public function getRuntime(): ?array { return $this->runtime; } + /** - * - * - * @param string[] $runtime - * - * @return self + * @param string[]|null $runtime */ - public function setRuntime(array $runtime) : self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAutoload() : array + public function getAutoload(): ?array { return $this->autoload; } + /** - * - * - * @param string[] $autoload - * - * @return self + * @param string[]|null $autoload */ - public function setAutoload(array $autoload) : self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipelineJsonldRead.php b/src/Model/WorkflowJobPipelineJsonldRead.php index 39c894de..f7f0611e 100644 --- a/src/Model/WorkflowJobPipelineJsonldRead.php +++ b/src/Model/WorkflowJobPipelineJsonldRead.php @@ -1,277 +1,193 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): ?string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getRuntime() : array + public function getRuntime(): ?array { return $this->runtime; } + /** - * - * - * @param string[] $runtime - * - * @return self + * @param string[]|null $runtime */ - public function setRuntime(array $runtime) : self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAutoload() : array + public function getAutoload(): ?array { return $this->autoload; } + /** - * - * - * @param string[] $autoload - * - * @return self + * @param string[]|null $autoload */ - public function setAutoload(array $autoload) : self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipelineRead.php b/src/Model/WorkflowJobPipelineRead.php index 1aaa889e..320f3511 100644 --- a/src/Model/WorkflowJobPipelineRead.php +++ b/src/Model/WorkflowJobPipelineRead.php @@ -1,196 +1,139 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): ?string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getRuntime() : array + public function getRuntime(): ?array { return $this->runtime; } + /** - * - * - * @param string[] $runtime - * - * @return self + * @param string[]|null $runtime */ - public function setRuntime(array $runtime) : self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAutoload() : array + public function getAutoload(): ?array { return $this->autoload; } + /** - * - * - * @param string[] $autoload - * - * @return self + * @param string[]|null $autoload */ - public function setAutoload(array $autoload) : self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getSteps() : array + public function getSteps(): ?array { return $this->steps; } + /** - * - * - * @param string[] $steps - * - * @return self + * @param string[]|null $steps */ - public function setSteps(array $steps) : self + public function setSteps(?array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobRead.php b/src/Model/WorkflowJobRead.php index b258c690..383b03d8 100644 --- a/src/Model/WorkflowJobRead.php +++ b/src/Model/WorkflowJobRead.php @@ -1,88 +1,75 @@ workflow; } + /** - * - * * @param mixed $workflow - * - * @return self */ - public function setWorkflow($workflow) : self + public function setWorkflow($workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJsonldRead.php b/src/Model/WorkflowJsonldRead.php index 55c76c54..fe78b930 100644 --- a/src/Model/WorkflowJsonldRead.php +++ b/src/Model/WorkflowJsonldRead.php @@ -1,196 +1,133 @@ context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(?string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): ?string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(?string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return WorkflowJobJsonldRead[] + * @return WorkflowJobJsonldRead[]|null */ - public function getJobs() : array + public function getJobs(): ?array { return $this->jobs; } + /** - * - * - * @param WorkflowJobJsonldRead[] $jobs - * - * @return self + * @param WorkflowJobJsonldRead[]|null $jobs */ - public function setJobs(array $jobs) : self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowRead.php b/src/Model/WorkflowRead.php index 62e34d0f..1139fc71 100644 --- a/src/Model/WorkflowRead.php +++ b/src/Model/WorkflowRead.php @@ -1,115 +1,79 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): ?string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(?string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): ?string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(?string $label): self { $this->label = $label; + return $this; } + /** - * - * - * @return WorkflowJobRead[] + * @return WorkflowJobRead[]|null */ - public function getJobs() : array + public function getJobs(): ?array { return $this->jobs; } + /** - * - * - * @param WorkflowJobRead[] $jobs - * - * @return self + * @param WorkflowJobRead[]|null $jobs */ - public function setJobs(array $jobs) : self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Workspace.php b/src/Model/Workspace.php index 09c89092..11efa2a8 100644 --- a/src/Model/Workspace.php +++ b/src/Model/Workspace.php @@ -1,142 +1,117 @@ id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getUsers() : array + public function getUsers(): ?array { return $this->users; } + /** - * - * - * @param string[] $users - * - * @return self + * @param string[]|null $users */ - public function setUsers(array $users) : self + public function setUsers(?array $users): self { $this->users = $users; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkspaceJsonld.php b/src/Model/WorkspaceJsonld.php index 53c15df4..ebcac08f 100644 --- a/src/Model/WorkspaceJsonld.php +++ b/src/Model/WorkspaceJsonld.php @@ -1,223 +1,171 @@ context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): ?string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(?string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): ?string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(?string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): ?string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(?string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): ?string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(?string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getSlug(): ?string + { + return $this->slug; + } + + public function setSlug(?string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getAuthorizations() : array + public function getAuthorizations(): ?array { return $this->authorizations; } + /** - * - * - * @param string[] $authorizations - * - * @return self + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; + return $this; } + /** - * - * - * @return string[] + * @return string[]|null */ - public function getUsers() : array + public function getUsers(): ?array { return $this->users; } + /** - * - * - * @param string[] $users - * - * @return self + * @param string[]|null $users */ - public function setUsers(array $users) : self + public function setUsers(?array $users): self { $this->users = $users; + return $this; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AbstractPipelineJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldNormalizer.php index 3af62e3f..ee9cb361 100644 --- a/src/Normalizer/AbstractPipelineJsonldNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); - foreach ($data['steps'] as $value) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); + } + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; + foreach ($data['runtime'] as $value) { $values[] = $value; } - $object->setSteps($values); + $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); + } + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; + foreach ($data['autoload'] as $value_1) { + $values_1[] = $value_1; + } + $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; + foreach ($data['steps'] as $value_2) { + $values_2[] = $value_2; + } + $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + $data['id'] = $object->getId2(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['runtimeType'] = $object->getRuntimeType(); + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + $values_1 = []; + foreach ($object->getAutoload() as $value_1) { + $values_1[] = $value_1; + } + $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values = array(); - foreach ($object->getSteps() as $value) { - $values[] = $value; + $values_2 = []; + foreach ($object->getSteps() as $value_2) { + $values_2[] = $value_2; } - $data['steps'] = $values; + $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AbstractPipelineNormalizer.php b/src/Normalizer/AbstractPipelineNormalizer.php index 74086a55..49bdf275 100644 --- a/src/Normalizer/AbstractPipelineNormalizer.php +++ b/src/Normalizer/AbstractPipelineNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + if (\array_key_exists('label', $data) && null !== $data['label']) { + $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); - foreach ($data['steps'] as $value) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); + } + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; + foreach ($data['runtime'] as $value) { $values[] = $value; } - $object->setSteps($values); + $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); + } + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; + foreach ($data['autoload'] as $value_1) { + $values_1[] = $value_1; + } + $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; + foreach ($data['steps'] as $value_2) { + $values_2[] = $value_2; + } + $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); + } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + $data['id'] = $object->getId(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['runtimeType'] = $object->getRuntimeType(); + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + $values_1 = []; + foreach ($object->getAutoload() as $value_1) { + $values_1[] = $value_1; + } + $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values = array(); - foreach ($object->getSteps() as $value) { - $values[] = $value; + $values_2 = []; + foreach ($object->getSteps() as $value_2) { + $values_2[] = $value_2; } - $data['steps'] = $values; + $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ActionJsonldReadNormalizer.php b/src/Normalizer/ActionJsonldReadNormalizer.php index 1a25ca1b..deed3980 100644 --- a/src/Normalizer/ActionJsonldReadNormalizer.php +++ b/src/Normalizer/ActionJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ActionReadNormalizer.php b/src/Normalizer/ActionReadNormalizer.php index da766b01..f57faf42 100644 --- a/src/Normalizer/ActionReadNormalizer.php +++ b/src/Normalizer/ActionReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php new file mode 100644 index 00000000..78882e3f --- /dev/null +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php @@ -0,0 +1,106 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { + $object->setPimUrl($data['pimUrl']); + } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { + $object->setPimUrl(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('secret', $data) && null !== $data['secret']) { + $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretInputJsonld', 'json', $context)); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPimUrl()) { + $data['pimUrl'] = $object->getPimUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $this->normalizer->normalize($object->getSecret(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php new file mode 100644 index 00000000..1d8ddb9a --- /dev/null +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php @@ -0,0 +1,91 @@ +setPimUrl($data['pimUrl']); + } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { + $object->setPimUrl(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('secret', $data) && null !== $data['secret']) { + $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretInput', 'json', $context)); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPimUrl()) { + $data['pimUrl'] = $object->getPimUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $this->normalizer->normalize($object->getSecret(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php new file mode 100644 index 00000000..5f769bf3 --- /dev/null +++ b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php @@ -0,0 +1,151 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('url', $data) && null !== $data['url']) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('secret', $data) && null !== $data['secret']) { + $object->setSecret($data['secret']); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); + } + if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { + $values = []; + foreach ($data['linkedAccounts'] as $value) { + $values[] = $value; + } + $object->setLinkedAccounts($values); + } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { + $object->setLinkedAccounts(null); + } + if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { + $values_1 = []; + foreach ($data['oauthTokens'] as $value_1) { + $values_1[] = $value_1; + } + $object->setOauthTokens($values_1); + } elseif (\array_key_exists('oauthTokens', $data) && null === $data['oauthTokens']) { + $object->setOauthTokens(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $object->getSecret(); + } + if (null !== $object->getLinkedAccounts()) { + $values = []; + foreach ($object->getLinkedAccounts() as $value) { + $values[] = $value; + } + $data['linkedAccounts'] = $values; + } + if (null !== $object->getOauthTokens()) { + $values_1 = []; + foreach ($object->getOauthTokens() as $value_1) { + $values_1[] = $value_1; + } + $data['oauthTokens'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceNormalizer.php b/src/Normalizer/AkeneoInstanceNormalizer.php new file mode 100644 index 00000000..acdf6fc3 --- /dev/null +++ b/src/Normalizer/AkeneoInstanceNormalizer.php @@ -0,0 +1,136 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('url', $data) && null !== $data['url']) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('secret', $data) && null !== $data['secret']) { + $object->setSecret($data['secret']); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); + } + if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { + $values = []; + foreach ($data['linkedAccounts'] as $value) { + $values[] = $value; + } + $object->setLinkedAccounts($values); + } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { + $object->setLinkedAccounts(null); + } + if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { + $values_1 = []; + foreach ($data['oauthTokens'] as $value_1) { + $values_1[] = $value_1; + } + $object->setOauthTokens($values_1); + } elseif (\array_key_exists('oauthTokens', $data) && null === $data['oauthTokens']) { + $object->setOauthTokens(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $object->getSecret(); + } + if (null !== $object->getLinkedAccounts()) { + $values = []; + foreach ($object->getLinkedAccounts() as $value) { + $values[] = $value; + } + $data['linkedAccounts'] = $values; + } + if (null !== $object->getOauthTokens()) { + $values_1 = []; + foreach ($object->getOauthTokens() as $value_1) { + $values_1[] = $value_1; + } + $data['oauthTokens'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php new file mode 100644 index 00000000..d4e00881 --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php @@ -0,0 +1,114 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); + } + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); + } + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); + } + if (\array_key_exists('token', $data) && null !== $data['token']) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + if (null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php new file mode 100644 index 00000000..2f08e5cd --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php @@ -0,0 +1,99 @@ +setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); + } + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); + } + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); + } + if (\array_key_exists('token', $data) && null !== $data['token']) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + if (null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php new file mode 100644 index 00000000..d0dadff7 --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php @@ -0,0 +1,123 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); + } + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); + } + if (\array_key_exists('token', $data) && null !== $data['token']) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); + } + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['user'] = $object->getUser(); + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + $data['token'] = $object->getToken(); + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountNormalizer.php b/src/Normalizer/AkeneoLinkedAccountNormalizer.php new file mode 100644 index 00000000..32d54f71 --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); + } + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); + } + if (\array_key_exists('token', $data) && null !== $data['token']) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); + } + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['user'] = $object->getUser(); + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + $data['token'] = $object->getToken(); + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php new file mode 100644 index 00000000..f3e90551 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('url', $data) && null !== $data['url']) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { + $values = []; + foreach ($data['scopes'] as $value) { + $values[] = $value; + } + $object->setScopes($values); + } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { + $object->setScopes(null); + } + if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { + $object->setResponseType($data['responseType']); + } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { + $object->setResponseType(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['url'] = $object->getUrl(); + if (null !== $object->getScopes()) { + $values = []; + foreach ($object->getScopes() as $value) { + $values[] = $value; + } + $data['scopes'] = $values; + } + $data['responseType'] = $object->getResponseType(); + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php new file mode 100644 index 00000000..08f75338 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php @@ -0,0 +1,106 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('url', $data) && null !== $data['url']) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('scope', $data) && null !== $data['scope']) { + $values = []; + foreach ($data['scope'] as $value) { + $values[] = $value; + } + $object->setScope($values); + } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { + $object->setScope(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getScope()) { + $values = []; + foreach ($object->getScope() as $value) { + $values[] = $value; + } + $data['scope'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php new file mode 100644 index 00000000..b52230fe --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php @@ -0,0 +1,91 @@ +setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('scope', $data) && null !== $data['scope']) { + $values = []; + foreach ($data['scope'] as $value) { + $values[] = $value; + } + $object->setScope($values); + } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { + $object->setScope(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getScope()) { + $values = []; + foreach ($object->getScope() as $value) { + $values[] = $value; + } + $data['scope'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/SecretValueInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php similarity index 52% rename from src/Normalizer/SecretValueInputJsonldNormalizer.php rename to src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php index 165d565c..0574faa1 100644 --- a/src/Normalizer/SecretValueInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('arrayCopy', $data)) { - $object->setArrayCopy($data['arrayCopy']); - } - if (\array_key_exists('flags', $data)) { - $object->setFlags($data['flags']); - } - if (\array_key_exists('iterator', $data)) { - $object->setIterator($data['iterator']); - } - if (\array_key_exists('iteratorClass', $data)) { - $object->setIteratorClass($data['iteratorClass']); - } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - if (null !== $object->getFlags()) { - $data['flags'] = $object->getFlags(); - } - if (null !== $object->getIteratorClass()) { - $data['iteratorClass'] = $object->getIteratorClass(); - } - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php new file mode 100644 index 00000000..8814c78d --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php @@ -0,0 +1,101 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('url', $data) && null !== $data['url']) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('state', $data) && null !== $data['state']) { + $object->setState($data['state']); + } elseif (\array_key_exists('state', $data) && null === $data['state']) { + $object->setState(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getState()) { + $data['state'] = $object->getState(); + } + if (null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php new file mode 100644 index 00000000..5a5c9636 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php @@ -0,0 +1,91 @@ +setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('state', $data) && null !== $data['state']) { + $object->setState($data['state']); + } elseif (\array_key_exists('state', $data) && null === $data['state']) { + $object->setState(null); + } + if (\array_key_exists('code', $data) && null !== $data['code']) { + $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getState()) { + $data['state'] = $object->getState(); + } + if (null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php new file mode 100644 index 00000000..98a94746 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php @@ -0,0 +1,75 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php new file mode 100644 index 00000000..ba42af5c --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php @@ -0,0 +1,100 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('url', $data) && null !== $data['url']) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); + } + if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { + $values = []; + foreach ($data['scopes'] as $value) { + $values[] = $value; + } + $object->setScopes($values); + } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { + $object->setScopes(null); + } + if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { + $object->setResponseType($data['responseType']); + } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { + $object->setResponseType(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['url'] = $object->getUrl(); + if (null !== $object->getScopes()) { + $values = []; + foreach ($object->getScopes() as $value) { + $values[] = $value; + } + $data['scopes'] = $values; + } + $data['responseType'] = $object->getResponseType(); + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4be40e42..8f4ba3de 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php index 7d0c3678..3fdffd0b 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php index 2dcf9259..106c7871 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php index 39080592..5641a1ad 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..7f5b0e19 --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..6d46ce28 --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..00c54eef --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php new file mode 100644 index 00000000..ea86abc4 --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OptionJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..0595e491 --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..8dcc6288 --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..6b4c973f --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php new file mode 100644 index 00000000..69210737 --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OfferJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5688c77e..945dcba8 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 14323ef8..a00a3ac3 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php index 48733127..29681b0d 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php index 0741e6d3..daa16f24 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 209e2ec5..43e8343b 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php index 8d4cd0ed..a3f9d514 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php index 63082db5..f30a5498 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php index f4988914..35788684 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index b9e79b6d..4a025db5 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php index fcf24fc1..9581bb90 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php index 6c57224c..f45f0ced 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php index 15088e00..5ad43a26 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 631fee5a..69fc9a04 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php index a37f1c36..584dc7b5 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php index 18780df6..762e93fc 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php index 8a0a6f40..6e711d81 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index a55df63a..2cc6c831 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php index 21b432b8..687b1b1a 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php index 1bd17436..3ad55446 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php index c2af8152..c7ad386a 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..afb55aed --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..439f2bcc --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..e9753f6a --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php new file mode 100644 index 00000000..1e6ebff0 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..e4046d9d --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..828fdd45 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..1b07076a --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php new file mode 100644 index 00000000..7c9925ac --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 7221f358..aa920a78 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php index 1bf69beb..f6fac859 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php index f1843289..37c2f9b9 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php index 0215bd07..6879f674 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index f954b670..1b4479c9 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php index da4c1da2..1a113e39 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php index 4d2939d3..bd0f8495 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php index d4766c43..cf99c289 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 12cd6d24..1184f739 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php index 8439325b..f814aef6 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php index fbb954cc..e65f6308 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php index fe18ceb9..e37a4682 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 386857ca..7edbf8ce 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 489f0554..383478ae 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php index d0eac5f0..4e5318fd 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php index 80140f0f..0a865360 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 37f78979..f4ba7190 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php index 8b2888e4..f44a468d 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php index 8dbfa914..daa473ce 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php index 3aae32e8..6e948d97 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5a805bc6..3b40b094 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php index 05d84bc6..a59acf30 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php index d26a657a..6f7fb05e 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php index bbac053d..614d3693 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AutoloadInputJsonldNormalizer.php b/src/Normalizer/AutoloadInputJsonldNormalizer.php index c17b9d1f..53b1bc14 100644 --- a/src/Normalizer/AutoloadInputJsonldNormalizer.php +++ b/src/Normalizer/AutoloadInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { - $values = array(); + if (\array_key_exists('paths', $data) && null !== $data['paths']) { + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getNamespace()) { $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AutoloadInputNormalizer.php b/src/Normalizer/AutoloadInputNormalizer.php index 74ebd15b..fbd6f750 100644 --- a/src/Normalizer/AutoloadInputNormalizer.php +++ b/src/Normalizer/AutoloadInputNormalizer.php @@ -1,36 +1,42 @@ setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { - $values = array(); + if (\array_key_exists('paths', $data) && null !== $data['paths']) { + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getNamespace()) { $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/BigDecimalJsonldNormalizer.php b/src/Normalizer/BigDecimalJsonldNormalizer.php new file mode 100644 index 00000000..bf1d9b88 --- /dev/null +++ b/src/Normalizer/BigDecimalJsonldNormalizer.php @@ -0,0 +1,140 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('scale', $data) && null !== $data['scale']) { + $object->setScale($data['scale']); + } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { + $object->setScale(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + if (\array_key_exists('unscaledValue', $data) && null !== $data['unscaledValue']) { + $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); + } elseif (\array_key_exists('unscaledValue', $data) && null === $data['unscaledValue']) { + $object->setUnscaledValue(null); + } + if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { + $object->setIntegralPart($data['integralPart']); + } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { + $object->setIntegralPart(null); + } + if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { + $object->setFractionalPart($data['fractionalPart']); + } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { + $object->setFractionalPart(null); + } + if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { + $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { + $object->setNonZeroFractionalPart(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUnscaledValue()) { + $data['unscaledValue'] = $this->normalizer->normalize($object->getUnscaledValue(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/BigDecimalNormalizer.php b/src/Normalizer/BigDecimalNormalizer.php new file mode 100644 index 00000000..0d453306 --- /dev/null +++ b/src/Normalizer/BigDecimalNormalizer.php @@ -0,0 +1,125 @@ +setScale($data['scale']); + } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { + $object->setScale(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + if (\array_key_exists('unscaledValue', $data) && null !== $data['unscaledValue']) { + $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); + } elseif (\array_key_exists('unscaledValue', $data) && null === $data['unscaledValue']) { + $object->setUnscaledValue(null); + } + if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { + $object->setIntegralPart($data['integralPart']); + } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { + $object->setIntegralPart(null); + } + if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { + $object->setFractionalPart($data['fractionalPart']); + } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { + $object->setFractionalPart(null); + } + if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { + $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { + $object->setNonZeroFractionalPart(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUnscaledValue()) { + $data['unscaledValue'] = $this->normalizer->normalize($object->getUnscaledValue(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/BigIntegerJsonldNormalizer.php b/src/Normalizer/BigIntegerJsonldNormalizer.php new file mode 100644 index 00000000..530a968c --- /dev/null +++ b/src/Normalizer/BigIntegerJsonldNormalizer.php @@ -0,0 +1,130 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { + $object->setBitLength($data['bitLength']); + } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { + $object->setBitLength(null); + } + if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { + $object->setLowestSetBit($data['lowestSetBit']); + } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { + $object->setLowestSetBit(null); + } + if (\array_key_exists('even', $data) && null !== $data['even']) { + $object->setEven($data['even']); + } elseif (\array_key_exists('even', $data) && null === $data['even']) { + $object->setEven(null); + } + if (\array_key_exists('odd', $data) && null !== $data['odd']) { + $object->setOdd($data['odd']); + } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { + $object->setOdd(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/BigIntegerNormalizer.php b/src/Normalizer/BigIntegerNormalizer.php new file mode 100644 index 00000000..6227d2ac --- /dev/null +++ b/src/Normalizer/BigIntegerNormalizer.php @@ -0,0 +1,115 @@ +setBitLength($data['bitLength']); + } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { + $object->setBitLength(null); + } + if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { + $object->setLowestSetBit($data['lowestSetBit']); + } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { + $object->setLowestSetBit(null); + } + if (\array_key_exists('even', $data) && null !== $data['even']) { + $object->setEven($data['even']); + } elseif (\array_key_exists('even', $data) && null === $data['even']) { + $object->setEven(null); + } + if (\array_key_exists('odd', $data) && null !== $data['odd']) { + $object->setOdd($data['odd']); + } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { + $object->setOdd(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/BigNumberJsonldNormalizer.php b/src/Normalizer/BigNumberJsonldNormalizer.php new file mode 100644 index 00000000..46bfd870 --- /dev/null +++ b/src/Normalizer/BigNumberJsonldNormalizer.php @@ -0,0 +1,110 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/BigNumberNormalizer.php b/src/Normalizer/BigNumberNormalizer.php new file mode 100644 index 00000000..85d1ad07 --- /dev/null +++ b/src/Normalizer/BigNumberNormalizer.php @@ -0,0 +1,95 @@ +setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/SecretConfigMapInputJsonldNormalizer.php b/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php similarity index 54% rename from src/Normalizer/SecretConfigMapInputJsonldNormalizer.php rename to src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php index 086ee8a4..a9f92a8f 100644 --- a/src/Normalizer/SecretConfigMapInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('configs', $data)) { + if (\array_key_exists('configs', $data) && null !== $data['configs']) { $object->setConfigs($this->denormalizer->denormalize($data['configs'], 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld', 'json', $context)); + } elseif (\array_key_exists('configs', $data) && null === $data['configs']) { + $object->setConfigs(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -77,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getConfigs()) { $data['configs'] = $this->normalizer->normalize($object->getConfigs(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretConfigMapInputNormalizer.php b/src/Normalizer/ConfigMapConfigMapInputNormalizer.php similarity index 62% rename from src/Normalizer/SecretConfigMapInputNormalizer.php rename to src/Normalizer/ConfigMapConfigMapInputNormalizer.php index d1fb4055..0df433b4 100644 --- a/src/Normalizer/SecretConfigMapInputNormalizer.php +++ b/src/Normalizer/ConfigMapConfigMapInputNormalizer.php @@ -1,36 +1,42 @@ setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('configs', $data)) { + if (\array_key_exists('configs', $data) && null !== $data['configs']) { $object->setConfigs($this->denormalizer->denormalize($data['configs'], 'Gyroscops\\Api\\Model\\ConfigMapValueInput', 'json', $context)); + } elseif (\array_key_exists('configs', $data) && null === $data['configs']) { + $object->setConfigs(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getConfigs()) { $data['configs'] = $this->normalizer->normalize($object->getConfigs(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ConfigMapJsonldNormalizer.php b/src/Normalizer/ConfigMapJsonldNormalizer.php new file mode 100644 index 00000000..7858e537 --- /dev/null +++ b/src/Normalizer/ConfigMapJsonldNormalizer.php @@ -0,0 +1,127 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigMapNormalizer.php b/src/Normalizer/ConfigMapNormalizer.php new file mode 100644 index 00000000..3108a384 --- /dev/null +++ b/src/Normalizer/ConfigMapNormalizer.php @@ -0,0 +1,112 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php index 7a610101..4b6183a7 100644 --- a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('arrayCopy', $data)) { + if (\array_key_exists('arrayCopy', $data) && null !== $data['arrayCopy']) { $object->setArrayCopy($data['arrayCopy']); + } elseif (\array_key_exists('arrayCopy', $data) && null === $data['arrayCopy']) { + $object->setArrayCopy(null); } - if (\array_key_exists('flags', $data)) { + if (\array_key_exists('flags', $data) && null !== $data['flags']) { $object->setFlags($data['flags']); + } elseif (\array_key_exists('flags', $data) && null === $data['flags']) { + $object->setFlags(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } - if (\array_key_exists('iteratorClass', $data)) { + if (\array_key_exists('iteratorClass', $data) && null !== $data['iteratorClass']) { $object->setIteratorClass($data['iteratorClass']); + } elseif (\array_key_exists('iteratorClass', $data) && null === $data['iteratorClass']) { + $object->setIteratorClass(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getFlags()) { $data['flags'] = $object->getFlags(); } if (null !== $object->getIteratorClass()) { $data['iteratorClass'] = $object->getIteratorClass(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ConfigMapValueInputNormalizer.php b/src/Normalizer/ConfigMapValueInputNormalizer.php index c667b9ed..40092a57 100644 --- a/src/Normalizer/ConfigMapValueInputNormalizer.php +++ b/src/Normalizer/ConfigMapValueInputNormalizer.php @@ -1,36 +1,42 @@ setArrayCopy($data['arrayCopy']); + } elseif (\array_key_exists('arrayCopy', $data) && null === $data['arrayCopy']) { + $object->setArrayCopy(null); } - if (\array_key_exists('flags', $data)) { + if (\array_key_exists('flags', $data) && null !== $data['flags']) { $object->setFlags($data['flags']); + } elseif (\array_key_exists('flags', $data) && null === $data['flags']) { + $object->setFlags(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } - if (\array_key_exists('iteratorClass', $data)) { + if (\array_key_exists('iteratorClass', $data) && null !== $data['iteratorClass']) { $object->setIteratorClass($data['iteratorClass']); + } elseif (\array_key_exists('iteratorClass', $data) && null === $data['iteratorClass']) { + $object->setIteratorClass(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getFlags()) { $data['flags'] = $object->getFlags(); } if (null !== $object->getIteratorClass()) { $data['iteratorClass'] = $object->getIteratorClass(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ContextJsonldNormalizer.php b/src/Normalizer/ContextJsonldNormalizer.php new file mode 100644 index 00000000..e5b17155 --- /dev/null +++ b/src/Normalizer/ContextJsonldNormalizer.php @@ -0,0 +1,90 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('step', $data) && null !== $data['step']) { + $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); + } + if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { + $object->setFixedScale($data['fixedScale']); + } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { + $object->setFixedScale(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/ContextNormalizer.php b/src/Normalizer/ContextNormalizer.php new file mode 100644 index 00000000..1ad4a236 --- /dev/null +++ b/src/Normalizer/ContextNormalizer.php @@ -0,0 +1,75 @@ +setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); + } + if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { + $object->setFixedScale($data['fixedScale']); + } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { + $object->setFixedScale(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + return []; + } +} diff --git a/src/Normalizer/CredentialsNormalizer.php b/src/Normalizer/CredentialsNormalizer.php index 7829bfce..68ee28b1 100644 --- a/src/Normalizer/CredentialsNormalizer.php +++ b/src/Normalizer/CredentialsNormalizer.php @@ -1,36 +1,42 @@ setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('password', $data)) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUsername()) { $data['username'] = $object->getUsername(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getWorkspace()) { $data['workspace'] = $object->getWorkspace(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/CurrencyJsonldNormalizer.php b/src/Normalizer/CurrencyJsonldNormalizer.php new file mode 100644 index 00000000..ccd84a16 --- /dev/null +++ b/src/Normalizer/CurrencyJsonldNormalizer.php @@ -0,0 +1,114 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { + $object->setCurrencyCode($data['currencyCode']); + } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { + $object->setCurrencyCode(null); + } + if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { + $object->setNumericCode($data['numericCode']); + } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { + $object->setNumericCode(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { + $object->setDefaultFractionDigits($data['defaultFractionDigits']); + } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { + $object->setDefaultFractionDigits(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getCurrencyCode()) { + $data['currencyCode'] = $object->getCurrencyCode(); + } + if (null !== $object->getNumericCode()) { + $data['numericCode'] = $object->getNumericCode(); + } + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDefaultFractionDigits()) { + $data['defaultFractionDigits'] = $object->getDefaultFractionDigits(); + } + + return $data; + } +} diff --git a/src/Normalizer/CurrencyNormalizer.php b/src/Normalizer/CurrencyNormalizer.php new file mode 100644 index 00000000..15484598 --- /dev/null +++ b/src/Normalizer/CurrencyNormalizer.php @@ -0,0 +1,99 @@ +setCurrencyCode($data['currencyCode']); + } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { + $object->setCurrencyCode(null); + } + if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { + $object->setNumericCode($data['numericCode']); + } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { + $object->setNumericCode(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { + $object->setDefaultFractionDigits($data['defaultFractionDigits']); + } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { + $object->setDefaultFractionDigits(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getCurrencyCode()) { + $data['currencyCode'] = $object->getCurrencyCode(); + } + if (null !== $object->getNumericCode()) { + $data['numericCode'] = $object->getNumericCode(); + } + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDefaultFractionDigits()) { + $data['defaultFractionDigits'] = $object->getDefaultFractionDigits(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..6fab7407 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..7c34638c --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..fff3b230 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php new file mode 100644 index 00000000..43137778 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigMapJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..bd02e8f2 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..dcfb3eac --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..8931daf6 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php new file mode 100644 index 00000000..6dd9ac59 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigMapJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php index fc74588f..c675d245 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php index f550372b..77948c0d 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php index ca853362..bee4088a 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php index 12ab3c5e..663982b7 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentJsonldNormalizer.php b/src/Normalizer/EnvironmentJsonldNormalizer.php index a9723d0d..1cd0357d 100644 --- a/src/Normalizer/EnvironmentJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('variables', $data)) { - $values = array(); + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; foreach ($data['variables'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableJsonld', 'json', $context); } $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -94,12 +123,13 @@ public function normalize($object, $format = null, array $context = array()) $data['workspace'] = $object->getWorkspace(); } if (null !== $object->getVariables()) { - $values = array(); + $values = []; foreach ($object->getVariables() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['variables'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentNormalizer.php b/src/Normalizer/EnvironmentNormalizer.php index 3104d12a..d9390cab 100644 --- a/src/Normalizer/EnvironmentNormalizer.php +++ b/src/Normalizer/EnvironmentNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('variables', $data)) { - $values = array(); + if (\array_key_exists('variables', $data) && null !== $data['variables']) { + $values = []; foreach ($data['variables'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\Variable', 'json', $context); } $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -85,12 +108,13 @@ public function normalize($object, $format = null, array $context = array()) $data['workspace'] = $object->getWorkspace(); } if (null !== $object->getVariables()) { - $values = array(); + $values = []; foreach ($object->getVariables() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['variables'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php index 26cf9ef3..ec5af8fc 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php index a3e4a8bc..9f1822d3 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php index a9e3bc7b..de0689a4 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php index 604da1ee..6033f6fb 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index c7be6df8..58466c14 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php index 817cd078..3c57a2ef 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php index b91602d4..bf8b77de 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php index 5f580c76..36872222 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php index f110a14c..77ab6120 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php index 369795ec..173d7827 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php index 7ad46326..014da9aa 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php index af0c2017..84ff48fd 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 385a925a..80ff0b07 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php index e3b18189..402d27c5 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php index 71da200b..0e1166cb 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php index 1d48ce97..780a4380 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionJsonldNormalizer.php b/src/Normalizer/ExecutionActionJsonldNormalizer.php index 0488f60d..a81da17c 100644 --- a/src/Normalizer/ExecutionActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); - } - elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php b/src/Normalizer/ExecutionActionJsonldReadNormalizer.php index a5b93ae1..2a2daf26 100644 --- a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionNormalizer.php b/src/Normalizer/ExecutionActionNormalizer.php index 3b5492e1..e57522e1 100644 --- a/src/Normalizer/ExecutionActionNormalizer.php +++ b/src/Normalizer/ExecutionActionNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); - } - elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionReadNormalizer.php b/src/Normalizer/ExecutionActionReadNormalizer.php index 807ef4b4..75ec2c86 100644 --- a/src/Normalizer/ExecutionActionReadNormalizer.php +++ b/src/Normalizer/ExecutionActionReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php index f179bcce..9dd005ee 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('schedule', $data)) { + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { $object->setSchedule($data['schedule']); + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSchedule()) { $data['schedule'] = $object->getSchedule(); } if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php index b1558bea..d878a304 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php @@ -1,36 +1,42 @@ setSchedule($data['schedule']); + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSchedule()) { $data['schedule'] = $object->getSchedule(); } if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php index 8afccea2..54c3f816 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php index 57ed4b5a..90fb7634 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php index 52160e38..fe813f3d 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php index 0e04f793..e17f082c 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php index 40e2c11d..48dd13f7 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php index 1f76fd4f..bbeff7c4 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php index fe7041c2..deeec9ad 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionJsonldReadNormalizer.php b/src/Normalizer/ExecutionJsonldReadNormalizer.php index 9a81953a..02b55923 100644 --- a/src/Normalizer/ExecutionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } - if (\array_key_exists('errors', $data)) { + if (\array_key_exists('errors', $data) && null !== $data['errors']) { $object->setErrors($data['errors']); + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + $object->setErrors(null); } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - } - elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - } - elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - } - elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - } - elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - } - elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - } - elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - } - elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); - } - elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['status'] = $object->getStatus(); @@ -164,6 +178,7 @@ public function normalize($object, $format = null, array $context = array()) $data['pipeline'] = $object->getPipeline(); $data['workflow'] = $object->getWorkflow(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php index 99f74335..2ec925b4 100644 --- a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineJobNormalizer.php b/src/Normalizer/ExecutionPipelineJobNormalizer.php index b880d82c..b49a756c 100644 --- a/src/Normalizer/ExecutionPipelineJobNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobNormalizer.php @@ -1,36 +1,42 @@ setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php index 7b151343..736aaa3c 100644 --- a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); - } - elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineNormalizer.php b/src/Normalizer/ExecutionPipelineNormalizer.php index 370b11b3..d8dd1818 100644 --- a/src/Normalizer/ExecutionPipelineNormalizer.php +++ b/src/Normalizer/ExecutionPipelineNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); - } - elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php index cefd3646..a2c9e6e2 100644 --- a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); - } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('metrics', $data)) { - $values = array(); + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + $object->setMetrics(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getMetrics()) { - $values = array(); + $values = []; foreach ($object->getMetrics() as $value) { $values[] = $value; } $data['metrics'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineStepNormalizer.php b/src/Normalizer/ExecutionPipelineStepNormalizer.php index 9082aa0d..63a6935a 100644 --- a/src/Normalizer/ExecutionPipelineStepNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('metrics', $data)) { - $values = array(); + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + $object->setMetrics(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getMetrics()) { - $values = array(); + $values = []; foreach ($object->getMetrics() as $value) { $values[] = $value; } $data['metrics'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionReadNormalizer.php b/src/Normalizer/ExecutionReadNormalizer.php index 2b2fa8aa..6f5ff1e0 100644 --- a/src/Normalizer/ExecutionReadNormalizer.php +++ b/src/Normalizer/ExecutionReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } - if (\array_key_exists('errors', $data)) { + if (\array_key_exists('errors', $data) && null !== $data['errors']) { $object->setErrors($data['errors']); + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + $object->setErrors(null); } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - } - elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - } - elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - } - elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - } - elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - } - elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - } - elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - } - elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); - } - elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['status'] = $object->getStatus(); @@ -155,6 +163,7 @@ public function normalize($object, $format = null, array $context = array()) $data['pipeline'] = $object->getPipeline(); $data['workflow'] = $object->getWorkflow(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php index a03f3c7a..487fbee7 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php index 308e2285..8da55359 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php index 36857cb3..f5c8ac34 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php index 5cb4ce0d..a6b682c5 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php index 9374a572..53eb593b 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php index df708424..0fda9223 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php index bcb3228c..3c5b6fe1 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('reason', $data)) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + $object->setReason(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getReason()) { $data['reason'] = $object->getReason(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php index 1194022f..2b4991f2 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('reason', $data)) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + $object->setReason(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getReason()) { $data['reason'] = $object->getReason(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php index 706bbcdb..651e45cc 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php index 4a8112b5..e1d55873 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('stepsUpdates', $data)) { + if (\array_key_exists('stepsUpdates', $data) && null !== $data['stepsUpdates']) { $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], 'Gyroscops\\Api\\Model\\UpdateListJsonld', 'json', $context)); + } elseif (\array_key_exists('stepsUpdates', $data) && null === $data['stepsUpdates']) { + $object->setStepsUpdates(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getStepsUpdates()) { $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php index fec52226..a3a879e2 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php @@ -1,36 +1,42 @@ setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('stepsUpdates', $data)) { + if (\array_key_exists('stepsUpdates', $data) && null !== $data['stepsUpdates']) { $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], 'Gyroscops\\Api\\Model\\UpdateList', 'json', $context)); + } elseif (\array_key_exists('stepsUpdates', $data) && null === $data['stepsUpdates']) { + $object->setStepsUpdates(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getStepsUpdates()) { $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php index 4a34843e..8c22c81f 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php index 3fc6da3f..3feb4bf9 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php index eca8916e..4db3de30 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php @@ -1,36 +1,42 @@ setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php index 433c8d6c..bc51301f 100644 --- a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['workflow'] = $object->getWorkflow(); $data['pipeline'] = $object->getPipeline(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobNormalizer.php b/src/Normalizer/ExecutionWorkflowJobNormalizer.php index fffc20b4..8f9f7e73 100644 --- a/src/Normalizer/ExecutionWorkflowJobNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['workflow'] = $object->getWorkflow(); $data['pipeline'] = $object->getPipeline(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php index 9f7e9926..f9ffa03d 100644 --- a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('jobs', $data)) { - $values = array(); + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $value; } $data['jobs'] = $values; } $data['execution'] = $object->getExecution(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowNormalizer.php b/src/Normalizer/ExecutionWorkflowNormalizer.php index af97b2b3..42ab2ce8 100644 --- a/src/Normalizer/ExecutionWorkflowNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('jobs', $data)) { - $values = array(); + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $value; } $data['jobs'] = $values; } $data['execution'] = $object->getExecution(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..f7109b79 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..bc3d654e --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..313b542c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php new file mode 100644 index 00000000..1b9ba812 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..858e8d54 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..73ad6af0 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..1f91c1eb --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php new file mode 100644 index 00000000..709a257c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..ee54eeef --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..28ab1904 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..bb071e03 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php new file mode 100644 index 00000000..1a7d301c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..abe64a1c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..26baeace --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..4f5305b8 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php new file mode 100644 index 00000000..f9d22ef0 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..528a8412 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..cf6b441e --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..30167cac --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php new file mode 100644 index 00000000..ad07ec9a --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..6f916fc1 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..35b05ecc --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..e18b54ca --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php new file mode 100644 index 00000000..c07b7930 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..cea63b3b --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php new file mode 100644 index 00000000..a209a8fa --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php new file mode 100644 index 00000000..4e7c0cbd --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php new file mode 100644 index 00000000..9ea0b142 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..bec7d48c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,99 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && null !== $data['variable']) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && null !== $data['required']) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..63a706aa --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php @@ -0,0 +1,107 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..7166273d --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php @@ -0,0 +1,115 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php new file mode 100644 index 00000000..03fbdcfe --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php @@ -0,0 +1,105 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead', 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/JaneObjectNormalizer.php b/src/Normalizer/JaneObjectNormalizer.php index 1b636d19..d7a7b28f 100644 --- a/src/Normalizer/JaneObjectNormalizer.php +++ b/src/Normalizer/JaneObjectNormalizer.php @@ -1,5 +1,7 @@ 'Gyroscops\\Api\\Normalizer\\AbstractPipelineNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInput' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Environment' => 'Gyroscops\\Api\\Normalizer\\EnvironmentNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipeline' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflow' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\Organization' => 'Gyroscops\\Api\\Normalizer\\OrganizationNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonld' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilation' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineIdJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStep' => 'Gyroscops\\Api\\Normalizer\\PipelineStepNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbe' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\Probe' => 'Gyroscops\\Api\\Normalizer\\ProbeNormalizer', 'Gyroscops\\Api\\Model\\ProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\ProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestJsonldReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\Schedule' => 'Gyroscops\\Api\\Normalizer\\ScheduleNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Secret' => 'Gyroscops\\Api\\Normalizer\\SecretNormalizer', 'Gyroscops\\Api\\Model\\SecretConfigMapInput' => 'Gyroscops\\Api\\Normalizer\\SecretConfigMapInputNormalizer', 'Gyroscops\\Api\\Model\\SecretConfigMapInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretConfigMapInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretValueInput' => 'Gyroscops\\Api\\Normalizer\\SecretValueInputNormalizer', 'Gyroscops\\Api\\Model\\SecretValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\StepInput' => 'Gyroscops\\Api\\Normalizer\\StepInputNormalizer', 'Gyroscops\\Api\\Model\\StepInputJsonld' => 'Gyroscops\\Api\\Normalizer\\StepInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\TraversableJsonld' => 'Gyroscops\\Api\\Normalizer\\TraversableJsonldNormalizer', 'Gyroscops\\Api\\Model\\UpdateList' => 'Gyroscops\\Api\\Normalizer\\UpdateListNormalizer', 'Gyroscops\\Api\\Model\\UpdateListJsonld' => 'Gyroscops\\Api\\Normalizer\\UpdateListJsonldNormalizer', 'Gyroscops\\Api\\Model\\User' => 'Gyroscops\\Api\\Normalizer\\UserNormalizer', 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' => 'Gyroscops\\Api\\Normalizer\\UserUserChangePasswordInputNormalizer', 'Gyroscops\\Api\\Model\\UserJsonld' => 'Gyroscops\\Api\\Normalizer\\UserJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorization' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserIdJsonld' => 'Gyroscops\\Api\\Normalizer\\UserIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Variable' => 'Gyroscops\\Api\\Normalizer\\VariableNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMap' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecret' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Workspace' => 'Gyroscops\\Api\\Normalizer\\WorkspaceNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Token' => 'Gyroscops\\Api\\Normalizer\\TokenNormalizer', 'Gyroscops\\Api\\Model\\Credentials' => 'Gyroscops\\Api\\Normalizer\\CredentialsNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer'), $normalizersCache = array(); - /** - * @return bool - */ - public function supportsDenormalization($data, $type, $format = null) + protected $normalizers = ['Gyroscops\\Api\\Model\\AbstractPipeline' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstance' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceAkeneoInstanceInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceAkeneoInstanceInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInput' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigDecimal' => 'Gyroscops\\Api\\Normalizer\\BigDecimalNormalizer', 'Gyroscops\\Api\\Model\\BigDecimalJsonld' => 'Gyroscops\\Api\\Normalizer\\BigDecimalJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigInteger' => 'Gyroscops\\Api\\Normalizer\\BigIntegerNormalizer', 'Gyroscops\\Api\\Model\\BigIntegerJsonld' => 'Gyroscops\\Api\\Normalizer\\BigIntegerJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigNumber' => 'Gyroscops\\Api\\Normalizer\\BigNumberNormalizer', 'Gyroscops\\Api\\Model\\BigNumberJsonld' => 'Gyroscops\\Api\\Normalizer\\BigNumberJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMap' => 'Gyroscops\\Api\\Normalizer\\ConfigMapNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapConfigMapInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapConfigMapInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Context' => 'Gyroscops\\Api\\Normalizer\\ContextNormalizer', 'Gyroscops\\Api\\Model\\ContextJsonld' => 'Gyroscops\\Api\\Normalizer\\ContextJsonldNormalizer', 'Gyroscops\\Api\\Model\\Currency' => 'Gyroscops\\Api\\Normalizer\\CurrencyNormalizer', 'Gyroscops\\Api\\Model\\CurrencyJsonld' => 'Gyroscops\\Api\\Normalizer\\CurrencyJsonldNormalizer', 'Gyroscops\\Api\\Model\\Environment' => 'Gyroscops\\Api\\Normalizer\\EnvironmentNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipeline' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflow' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Money' => 'Gyroscops\\Api\\Normalizer\\MoneyNormalizer', 'Gyroscops\\Api\\Model\\MoneyJsonld' => 'Gyroscops\\Api\\Normalizer\\MoneyJsonldNormalizer', 'Gyroscops\\Api\\Model\\Offer' => 'Gyroscops\\Api\\Normalizer\\OfferNormalizer', 'Gyroscops\\Api\\Model\\OfferJsonld' => 'Gyroscops\\Api\\Normalizer\\OfferJsonldNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\Option' => 'Gyroscops\\Api\\Normalizer\\OptionNormalizer', 'Gyroscops\\Api\\Model\\OptionJsonld' => 'Gyroscops\\Api\\Normalizer\\OptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Organization' => 'Gyroscops\\Api\\Normalizer\\OrganizationNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonld' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilation' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineIdJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStep' => 'Gyroscops\\Api\\Normalizer\\PipelineStepNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbe' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\Price' => 'Gyroscops\\Api\\Normalizer\\PriceNormalizer', 'Gyroscops\\Api\\Model\\PriceJsonld' => 'Gyroscops\\Api\\Normalizer\\PriceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Probe' => 'Gyroscops\\Api\\Normalizer\\ProbeNormalizer', 'Gyroscops\\Api\\Model\\ProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\ProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestJsonldReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\Schedule' => 'Gyroscops\\Api\\Normalizer\\ScheduleNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Secret' => 'Gyroscops\\Api\\Normalizer\\SecretNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\StepInput' => 'Gyroscops\\Api\\Normalizer\\StepInputNormalizer', 'Gyroscops\\Api\\Model\\StepInputJsonld' => 'Gyroscops\\Api\\Normalizer\\StepInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Subscription' => 'Gyroscops\\Api\\Normalizer\\SubscriptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOption' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\TraversableJsonld' => 'Gyroscops\\Api\\Normalizer\\TraversableJsonldNormalizer', 'Gyroscops\\Api\\Model\\UpdateList' => 'Gyroscops\\Api\\Normalizer\\UpdateListNormalizer', 'Gyroscops\\Api\\Model\\UpdateListJsonld' => 'Gyroscops\\Api\\Normalizer\\UpdateListJsonldNormalizer', 'Gyroscops\\Api\\Model\\User' => 'Gyroscops\\Api\\Normalizer\\UserNormalizer', 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' => 'Gyroscops\\Api\\Normalizer\\UserUserChangePasswordInputNormalizer', 'Gyroscops\\Api\\Model\\UserJsonld' => 'Gyroscops\\Api\\Normalizer\\UserJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorization' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserIdJsonld' => 'Gyroscops\\Api\\Normalizer\\UserIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Variable' => 'Gyroscops\\Api\\Normalizer\\VariableNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMap' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecret' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Workspace' => 'Gyroscops\\Api\\Normalizer\\WorkspaceNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Token' => 'Gyroscops\\Api\\Normalizer\\TokenNormalizer', 'Gyroscops\\Api\\Model\\Credentials' => 'Gyroscops\\Api\\Normalizer\\CredentialsNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer']; + protected $normalizersCache = []; + + public function supportsDenormalization($data, $type, $format = null): bool { - return array_key_exists($type, $this->normalizers); + return \array_key_exists($type, $this->normalizers); } - /** - * @return bool - */ - public function supportsNormalization($data, $format = null) + + public function supportsNormalization($data, $format = null): bool { - return is_object($data) && array_key_exists(get_class($data), $this->normalizers); + return \is_object($data) && \array_key_exists($data::class, $this->normalizers); } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $normalizerClass = $this->normalizers[get_class($object)]; + $normalizerClass = $this->normalizers[$object::class]; $normalizer = $this->getNormalizer($normalizerClass); + return $normalizer->normalize($object, $format, $context); } + /** + * @param mixed $data + * @param mixed $class + * @param mixed|null $format + * * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { $denormalizerClass = $this->normalizers[$class]; $denormalizer = $this->getNormalizer($denormalizerClass); + return $denormalizer->denormalize($data, $class, $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; } -} \ No newline at end of file +} diff --git a/src/Normalizer/MoneyJsonldNormalizer.php b/src/Normalizer/MoneyJsonldNormalizer.php new file mode 100644 index 00000000..a9fb71d4 --- /dev/null +++ b/src/Normalizer/MoneyJsonldNormalizer.php @@ -0,0 +1,161 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('amount', $data) && null !== $data['amount']) { + $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + $object->setAmount(null); + } + if (\array_key_exists('currency', $data) && null !== $data['currency']) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\CurrencyJsonld', 'json', $context)); + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { + $object->setCurrency(null); + } + if (\array_key_exists('context', $data) && null !== $data['context']) { + $object->setContext2($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\ContextJsonld', 'json', $context)); + } elseif (\array_key_exists('context', $data) && null === $data['context']) { + $object->setContext2(null); + } + if (\array_key_exists('minorAmount', $data) && null !== $data['minorAmount']) { + $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); + } elseif (\array_key_exists('minorAmount', $data) && null === $data['minorAmount']) { + $object->setMinorAmount(null); + } + if (\array_key_exists('unscaledAmount', $data) && null !== $data['unscaledAmount']) { + $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); + } elseif (\array_key_exists('unscaledAmount', $data) && null === $data['unscaledAmount']) { + $object->setUnscaledAmount(null); + } + if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { + $values = []; + foreach ($data['amounts'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumberJsonld', 'json', $context); + } + $object->setAmounts($values); + } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { + $object->setAmounts(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAmount()) { + $data['amount'] = $this->normalizer->normalize($object->getAmount(), 'json', $context); + } + if (null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if (null !== $object->getContext2()) { + $data['context'] = $this->normalizer->normalize($object->getContext2(), 'json', $context); + } + if (null !== $object->getMinorAmount()) { + $data['minorAmount'] = $this->normalizer->normalize($object->getMinorAmount(), 'json', $context); + } + if (null !== $object->getUnscaledAmount()) { + $data['unscaledAmount'] = $this->normalizer->normalize($object->getUnscaledAmount(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/MoneyNormalizer.php b/src/Normalizer/MoneyNormalizer.php new file mode 100644 index 00000000..ee1d4f9a --- /dev/null +++ b/src/Normalizer/MoneyNormalizer.php @@ -0,0 +1,146 @@ +setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + $object->setAmount(null); + } + if (\array_key_exists('currency', $data) && null !== $data['currency']) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\Currency', 'json', $context)); + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { + $object->setCurrency(null); + } + if (\array_key_exists('context', $data) && null !== $data['context']) { + $object->setContext($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\Context', 'json', $context)); + } elseif (\array_key_exists('context', $data) && null === $data['context']) { + $object->setContext(null); + } + if (\array_key_exists('minorAmount', $data) && null !== $data['minorAmount']) { + $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); + } elseif (\array_key_exists('minorAmount', $data) && null === $data['minorAmount']) { + $object->setMinorAmount(null); + } + if (\array_key_exists('unscaledAmount', $data) && null !== $data['unscaledAmount']) { + $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); + } elseif (\array_key_exists('unscaledAmount', $data) && null === $data['unscaledAmount']) { + $object->setUnscaledAmount(null); + } + if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { + $values = []; + foreach ($data['amounts'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumber', 'json', $context); + } + $object->setAmounts($values); + } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { + $object->setAmounts(null); + } + if (\array_key_exists('sign', $data) && null !== $data['sign']) { + $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); + } + if (\array_key_exists('zero', $data) && null !== $data['zero']) { + $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); + } + if (\array_key_exists('negative', $data) && null !== $data['negative']) { + $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); + } + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); + } + if (\array_key_exists('positive', $data) && null !== $data['positive']) { + $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); + } + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAmount()) { + $data['amount'] = $this->normalizer->normalize($object->getAmount(), 'json', $context); + } + if (null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if (null !== $object->getContext()) { + $data['context'] = $this->normalizer->normalize($object->getContext(), 'json', $context); + } + if (null !== $object->getMinorAmount()) { + $data['minorAmount'] = $this->normalizer->normalize($object->getMinorAmount(), 'json', $context); + } + if (null !== $object->getUnscaledAmount()) { + $data['unscaledAmount'] = $this->normalizer->normalize($object->getUnscaledAmount(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/OfferJsonldNormalizer.php b/src/Normalizer/OfferJsonldNormalizer.php new file mode 100644 index 00000000..8765ee34 --- /dev/null +++ b/src/Normalizer/OfferJsonldNormalizer.php @@ -0,0 +1,133 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('options', $data) && null !== $data['options']) { + $values = []; + foreach ($data['options'] as $value) { + $values[] = $value; + } + $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('sku', $data) && null !== $data['sku']) { + $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OfferNormalizer.php b/src/Normalizer/OfferNormalizer.php new file mode 100644 index 00000000..73754a01 --- /dev/null +++ b/src/Normalizer/OfferNormalizer.php @@ -0,0 +1,118 @@ +setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('sku', $data) && null !== $data['sku']) { + $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php index c6082367..c06a15e1 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { @@ -86,6 +115,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php index 0b86bf51..6c4942d9 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } $data['message'] = $object->getMessage(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php index fae7cbb2..f86a9a55 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { @@ -77,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php index 18eb7b55..f60f3dc9 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php @@ -1,36 +1,42 @@ setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } $data['message'] = $object->getMessage(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OptionJsonldNormalizer.php b/src/Normalizer/OptionJsonldNormalizer.php new file mode 100644 index 00000000..fe5db041 --- /dev/null +++ b/src/Normalizer/OptionJsonldNormalizer.php @@ -0,0 +1,118 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('offer', $data) && null !== $data['offer']) { + $object->setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('sku', $data) && null !== $data['sku']) { + $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['offer'] = $object->getOffer(); + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OptionNormalizer.php b/src/Normalizer/OptionNormalizer.php new file mode 100644 index 00000000..b2fd9b99 --- /dev/null +++ b/src/Normalizer/OptionNormalizer.php @@ -0,0 +1,108 @@ +setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('sku', $data) && null !== $data['sku']) { + $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['offer'] = $object->getOffer(); + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OrganizationJsonldNormalizer.php b/src/Normalizer/OrganizationJsonldNormalizer.php index 6cc0e740..8ad09921 100644 --- a/src/Normalizer/OrganizationJsonldNormalizer.php +++ b/src/Normalizer/OrganizationJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('authorizations', $data)) { - $values = array(); + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('users', $data)) { - $values_1 = array(); + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data)) { - $values_2 = array(); + if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { + $values_2 = []; foreach ($data['externalCollaborators'] as $value_2) { $values_2[] = $value_2; } $object->setExternalCollaborators($values_2); + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { + $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_3 = []; foreach ($data['workspaces'] as $value_3) { $values_3[] = $value_3; } $object->setWorkspaces($values_3); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } @@ -106,26 +137,27 @@ public function normalize($object, $format = null, array $context = array()) $data['name'] = $object->getName(); $data['slug'] = $object->getSlug(); if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } if (null !== $object->getExternalCollaborators()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getExternalCollaborators() as $value_2) { $values_2[] = $value_2; } $data['externalCollaborators'] = $values_2; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); + $values_3 = []; foreach ($object->getWorkspaces() as $value_3) { $values_3[] = $value_3; } $data['workspaces'] = $values_3; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OrganizationNormalizer.php b/src/Normalizer/OrganizationNormalizer.php index 6b9ffa0b..c2942637 100644 --- a/src/Normalizer/OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('authorizations', $data)) { - $values = array(); + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('users', $data)) { - $values_1 = array(); + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data)) { - $values_2 = array(); + if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { + $values_2 = []; foreach ($data['externalCollaborators'] as $value_2) { $values_2[] = $value_2; } $object->setExternalCollaborators($values_2); + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { + $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_3 = []; foreach ($data['workspaces'] as $value_3) { $values_3[] = $value_3; } $object->setWorkspaces($values_3); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } @@ -97,26 +122,27 @@ public function normalize($object, $format = null, array $context = array()) $data['name'] = $object->getName(); $data['slug'] = $object->getSlug(); if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } if (null !== $object->getExternalCollaborators()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getExternalCollaborators() as $value_2) { $values_2[] = $value_2; } $data['externalCollaborators'] = $values_2; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); + $values_3 = []; foreach ($object->getWorkspaces() as $value_3) { $values_3[] = $value_3; } $data['workspaces'] = $values_3; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php index 3d2a754c..610ab2ed 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -102,9 +131,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -113,12 +142,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php index 2e713c72..6466ad0e 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -93,9 +116,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -104,12 +127,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php index 0046d0ad..0b8b60cf 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php index f44c28b8..af80518d 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -102,9 +131,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -113,12 +142,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php index 46b32d34..fdd735a6 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -93,9 +116,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -104,12 +127,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php index 30e6c6e1..e62f086d 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php index e708df3f..381332b5 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { - $values = array(); + if (\array_key_exists('paths', $data) && null !== $data['paths']) { + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -79,12 +102,13 @@ public function normalize($object, $format = null, array $context = array()) $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php index e97c2abd..706a0822 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { - $values = array(); + if (\array_key_exists('paths', $data) && null !== $data['paths']) { + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -70,12 +87,13 @@ public function normalize($object, $format = null, array $context = array()) $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php index 3aa6d54e..3e0ba598 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php index ecd5720d..ac965349 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('probe', $data)) { + if (\array_key_exists('probe', $data) && null !== $data['probe']) { $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context)); + } elseif (\array_key_exists('probe', $data) && null === $data['probe']) { + $object->setProbe(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $object->getId2(); } @@ -77,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getProbe()) { $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php index 445c8143..ce135914 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('probe', $data)) { + if (\array_key_exists('probe', $data) && null !== $data['probe']) { $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\Probe', 'json', $context)); + } elseif (\array_key_exists('probe', $data) && null === $data['probe']) { + $object->setProbe(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getProbe()) { $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php index 71eca6a0..f1227bf9 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php index c2492ee2..8f026900 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -96,9 +123,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -107,12 +134,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php index 74865831..ce7e952d 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -87,9 +108,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -98,12 +119,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php index 1bc8a2b3..f069677c 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilationJsonldNormalizer.php b/src/Normalizer/PipelineCompilationJsonldNormalizer.php index 4c3b8dc5..ba5a4578 100644 --- a/src/Normalizer/PipelineCompilationJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilationJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); @@ -97,6 +120,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getOwner()) { $data['owner'] = $object->getOwner(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilationNormalizer.php b/src/Normalizer/PipelineCompilationNormalizer.php index 55d40653..0e2992e7 100644 --- a/src/Normalizer/PipelineCompilationNormalizer.php +++ b/src/Normalizer/PipelineCompilationNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); @@ -88,6 +105,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getOwner()) { $data['owner'] = $object->getOwner(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php index 87f4bf1d..18b4c0d6 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php index 34bdfdaf..521aba22 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php index d3268c61..919f710d 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php index 4c2f613b..1abd3aab 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInputJsonld', 'json', $context); } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } - if (\array_key_exists('autoloads', $data)) { - $values_1 = array(); + if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { + $values_1 = []; foreach ($data['autoloads'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInputJsonld', 'json', $context); } $object->setAutoloads($values_1); + } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { + $object->setAutoloads(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } @@ -101,19 +127,20 @@ public function normalize($object, $format = null, array $context = array()) $data['organization'] = $object->getOrganization(); } if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['steps'] = $values; } if (null !== $object->getAutoloads()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoloads() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['autoloads'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php index 7603c1d2..ed8c558b 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php @@ -1,36 +1,42 @@ setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('steps', $data)) { - $values = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInput', 'json', $context); } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } - if (\array_key_exists('autoloads', $data)) { - $values_1 = array(); + if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { + $values_1 = []; foreach ($data['autoloads'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInput', 'json', $context); } $object->setAutoloads($values_1); + } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { + $object->setAutoloads(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } @@ -92,19 +112,20 @@ public function normalize($object, $format = null, array $context = array()) $data['organization'] = $object->getOrganization(); } if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['steps'] = $values; } if (null !== $object->getAutoloads()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoloads() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['autoloads'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php index 715d3982..d292868d 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineIdJsonldNormalizer.php b/src/Normalizer/PipelineIdJsonldNormalizer.php index 6085d296..af1ca482 100644 --- a/src/Normalizer/PipelineIdJsonldNormalizer.php +++ b/src/Normalizer/PipelineIdJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineJsonldReadNormalizer.php b/src/Normalizer/PipelineJsonldReadNormalizer.php index e92ef76b..a0dc4377 100644 --- a/src/Normalizer/PipelineJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); - } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('isSoftDeleted', $data)) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - } - elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { $object->setCompiledAt(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { - $values = array(); + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { - $values_2 = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIsSoftDeleted()) { $data['isSoftDeleted'] = $object->getIsSoftDeleted(); } @@ -111,23 +143,24 @@ public function normalize($object, $format = null, array $context = array()) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php index 44d77e3f..12da25fa 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -77,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php index c885af1e..e7571936 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php index ca125a6a..abceff10 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php index 2c1bf752..26d14462 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -77,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php index 6624fec0..190b57a1 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php index ab47a941..e516931c 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReadNormalizer.php b/src/Normalizer/PipelineReadNormalizer.php index ba16bb8d..fb9dab9a 100644 --- a/src/Normalizer/PipelineReadNormalizer.php +++ b/src/Normalizer/PipelineReadNormalizer.php @@ -1,36 +1,42 @@ setIsSoftDeleted($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - } - elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { $object->setCompiledAt(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { - $values = array(); + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { - $values_2 = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIsSoftDeleted()) { $data['isSoftDeleted'] = $object->getIsSoftDeleted(); } @@ -102,23 +128,24 @@ public function normalize($object, $format = null, array $context = array()) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php index d6339df5..14879b98 100644 --- a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php index 8512980f..76e6360f 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('codes', $data)) { - $values = array(); + if (\array_key_exists('codes', $data) && null !== $data['codes']) { + $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + $object->setCodes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getCodes()) { - $values = array(); + $values = []; foreach ($object->getCodes() as $value) { $values[] = $value; } $data['codes'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php index 401b29ba..d8551bda 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('codes', $data)) { - $values = array(); + if (\array_key_exists('codes', $data) && null !== $data['codes']) { + $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + $object->setCodes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getCodes()) { - $values = array(); + $values = []; foreach ($object->getCodes() as $value) { $values[] = $value; } $data['codes'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php index 8d4f99dd..27c601ec 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php index b4073676..eedb604b 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('former', $data)) { + if (\array_key_exists('former', $data) && null !== $data['former']) { $object->setFormer($data['former']); + } elseif (\array_key_exists('former', $data) && null === $data['former']) { + $object->setFormer(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = array(); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_1 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; foreach ($data['probes'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_1); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -98,19 +127,20 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $value) { $values[] = $value; } $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getProbes() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['probes'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php index b52f8535..d3760a2a 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('former', $data)) { + if (\array_key_exists('former', $data) && null !== $data['former']) { $object->setFormer($data['former']); + } elseif (\array_key_exists('former', $data) && null === $data['former']) { + $object->setFormer(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { - $values = array(); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { - $values_1 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_1 = []; foreach ($data['probes'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_1); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -89,19 +112,20 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $value) { $values[] = $value; } $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getProbes() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['probes'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php index 6ec47d0d..54cd945f 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepJsonldNormalizer.php b/src/Normalizer/PipelineStepJsonldNormalizer.php index d0486ee9..33fb3e81 100644 --- a/src/Normalizer/PipelineStepJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('probes', $data)) { - $values = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } - if (\array_key_exists('configuration', $data)) { - $values_1 = array(); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values_1 = []; foreach ($data['configuration'] as $value_1) { $values_1[] = $value_1; } $object->setConfiguration($values_1); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getProbes()) { - $values = array(); + $values = []; foreach ($object->getProbes() as $value) { $values[] = $value; } $data['probes'] = $values; } - $values_1 = array(); + $values_1 = []; foreach ($object->getConfiguration() as $value_1) { $values_1[] = $value_1; } $data['configuration'] = $values_1; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepNormalizer.php b/src/Normalizer/PipelineStepNormalizer.php index e6c6e52e..0dd3a624 100644 --- a/src/Normalizer/PipelineStepNormalizer.php +++ b/src/Normalizer/PipelineStepNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('probes', $data)) { - $values = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } - if (\array_key_exists('configuration', $data)) { - $values_1 = array(); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $values_1 = []; foreach ($data['configuration'] as $value_1) { $values_1[] = $value_1; } $object->setConfiguration($values_1); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getProbes()) { - $values = array(); + $values = []; foreach ($object->getProbes() as $value) { $values[] = $value; } $data['probes'] = $values; } - $values_1 = array(); + $values_1 = []; foreach ($object->getConfiguration() as $value_1) { $values_1[] = $value_1; } $data['configuration'] = $values_1; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php index ab6645e0..691c1198 100644 --- a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('step', $data)) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['step'] = $object->getStep(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepProbeNormalizer.php b/src/Normalizer/PipelineStepProbeNormalizer.php index 84836359..ff273178 100644 --- a/src/Normalizer/PipelineStepProbeNormalizer.php +++ b/src/Normalizer/PipelineStepProbeNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('step', $data)) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['step'] = $object->getStep(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PriceJsonldNormalizer.php b/src/Normalizer/PriceJsonldNormalizer.php new file mode 100644 index 00000000..23f0ba8f --- /dev/null +++ b/src/Normalizer/PriceJsonldNormalizer.php @@ -0,0 +1,90 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($data['price']); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPrice()) { + $data['price'] = $object->getPrice(); + } + + return $data; + } +} diff --git a/src/Normalizer/SecretValueInputNormalizer.php b/src/Normalizer/PriceNormalizer.php similarity index 54% rename from src/Normalizer/SecretValueInputNormalizer.php rename to src/Normalizer/PriceNormalizer.php index ae6b5cac..fb1cd526 100644 --- a/src/Normalizer/SecretValueInputNormalizer.php +++ b/src/Normalizer/PriceNormalizer.php @@ -1,36 +1,42 @@ setArrayCopy($data['arrayCopy']); - } - if (\array_key_exists('flags', $data)) { - $object->setFlags($data['flags']); - } - if (\array_key_exists('iterator', $data)) { - $object->setIterator($data['iterator']); - } - if (\array_key_exists('iteratorClass', $data)) { - $object->setIteratorClass($data['iteratorClass']); + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($data['price']); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - if (null !== $object->getFlags()) { - $data['flags'] = $object->getFlags(); - } - if (null !== $object->getIteratorClass()) { - $data['iteratorClass'] = $object->getIteratorClass(); + $data = []; + if (null !== $object->getPrice()) { + $data['price'] = $object->getPrice(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ProbeJsonldNormalizer.php b/src/Normalizer/ProbeJsonldNormalizer.php index a670c7cb..bc8496c0 100644 --- a/src/Normalizer/ProbeJsonldNormalizer.php +++ b/src/Normalizer/ProbeJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ProbeNormalizer.php b/src/Normalizer/ProbeNormalizer.php index e87c6f06..8bb66b80 100644 --- a/src/Normalizer/ProbeNormalizer.php +++ b/src/Normalizer/ProbeNormalizer.php @@ -1,36 +1,42 @@ setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php index 565bf6f1..537f7aaf 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('referralRequests', $data)) { - $values = array(); + if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { + $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); + } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { + $object->setReferralRequests(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php index 0a36173d..4dcdf927 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php index 61c31a82..9382be05 100644 --- a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('referralRequests', $data)) { - $values = array(); + if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { + $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); + } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { + $object->setReferralRequests(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php index 9392a4fa..5cc84dd6 100644 --- a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php @@ -1,36 +1,42 @@ setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php index d0680fbb..1783deeb 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php index cfdb3cba..60dbeb9b 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php index 43a67d8a..0799eee5 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php index 8afb31ba..cb651422 100644 --- a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index b364c948..4fc71b09 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php index 3da858b0..bd2ec2e0 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php index 7cd559e9..46b8b874 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php index 515b3337..fdb00d90 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php index f4eb0773..cbda794b 100644 --- a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('userName', $data)) { + if (\array_key_exists('userName', $data) && null !== $data['userName']) { $object->setUserName($data['userName']); + } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { + $object->setUserName(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data)) { + if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); + } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { + $object->setCreationDate(null); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); - } - elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && $data['approver'] !== null) { + if (\array_key_exists('approver', $data) && null !== $data['approver']) { $object->setApprover($data['approver']); - } - elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { + } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['email'] = $object->getEmail(); $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); @@ -112,6 +143,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getStatus()) { $data['status'] = $object->getStatus(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php index 7a70d429..beff672b 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('userName', $data)) { - $object->setUserName($data['userName']); + if (\array_key_exists('username', $data) && null !== $data['username']) { + $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data)) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + $object->setReferralCode(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } @@ -86,8 +115,8 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getLastName()) { $data['lastName'] = $object->getLastName(); } - if (null !== $object->getUserName()) { - $data['userName'] = $object->getUserName(); + if (null !== $object->getUsername()) { + $data['username'] = $object->getUsername(); } if (null !== $object->getCompanyName()) { $data['companyName'] = $object->getCompanyName(); @@ -95,6 +124,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getReferralCode()) { $data['referralCode'] = $object->getReferralCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php index 90ef0b87..f989988b 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php @@ -1,36 +1,42 @@ setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('userName', $data)) { - $object->setUserName($data['userName']); + if (\array_key_exists('username', $data) && null !== $data['username']) { + $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data)) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + $object->setReferralCode(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } @@ -77,8 +100,8 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getLastName()) { $data['lastName'] = $object->getLastName(); } - if (null !== $object->getUserName()) { - $data['userName'] = $object->getUserName(); + if (null !== $object->getUsername()) { + $data['username'] = $object->getUsername(); } if (null !== $object->getCompanyName()) { $data['companyName'] = $object->getCompanyName(); @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getReferralCode()) { $data['referralCode'] = $object->getReferralCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php index 9e1677f1..d5f246c7 100644 --- a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('userName', $data)) { + if (\array_key_exists('userName', $data) && null !== $data['userName']) { $object->setUserName($data['userName']); + } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { + $object->setUserName(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data)) { + if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); + } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { + $object->setCreationDate(null); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); - } - elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && $data['approver'] !== null) { + if (\array_key_exists('approver', $data) && null !== $data['approver']) { $object->setApprover($data['approver']); - } - elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { + } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['email'] = $object->getEmail(); $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); @@ -103,6 +128,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getStatus()) { $data['status'] = $object->getStatus(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index b69030a3..72b384be 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php index ffcd1f5d..def6e75d 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php index 31ed9573..09bbc04e 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php index 8a53cb3d..99be2888 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index c982ae04..e75dc928 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php index 800069a9..4902fbdd 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php index 9cbe78cb..71402d43 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php index 79d5c786..7adb81cc 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ActionJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 57f247ae..c5eaf531 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php index 37c6d571..e7d8c44c 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php index 69a0906f..eb358c78 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php index 15774f27..7e11e6df 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 234c7c5f..fe8f0eec 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php index 7c981bd7..7c83a560 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php index 798346dc..d4626d1f 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php index b051400b..38adeade 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0a734754..97352bae 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index 0c9ad0b4..bfa73e07 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php index fbb3f5d1..7cfd516d 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php index 34d95c05..f46a4bae 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 825f83aa..149f45ce 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php index a5b2722f..28a53d6e 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php index f978b521..4e568f1e 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php index 2dfc1d92..74376701 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index f867bb3b..25165905 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index a80d23d3..4b3281da 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php index c7764a8e..283e5797 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php index ca0ab87c..56e9182e 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 27690a6c..2c018aa2 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php index e8a7ce8c..d0d195fa 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php index f640538a..a5a4a8a4 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php index f76d12da..216f9b21 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 60204465..76422761 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php index 97a61268..1b417c7a 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php index b3333381..129f3b41 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php index ba0a68b3..cb7991e0 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 942aacfa..f360930d 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php index 5d5452d7..60a64a7a 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php index afb7e5ab..391ac054 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php index ff288453..c1b046a1 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 98b309ca..65495812 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php index 47d393ba..09439d2e 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php index 69022071..310cdd80 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php index c5ab4374..752add36 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 703091d3..46b60dda 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php index d08113cf..d05c0cb3 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php index 9e6ab3cc..563c3291 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php index 77ca51e5..42b24167 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 90584f11..b6eaf3ca 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php index 1d0b3cbd..b421206e 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php index edfadcd2..2d8a2fbf 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php index 57f99aa9..50296219 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 92f7e727..f9b3631e 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php index 4cb97cb2..1804633b 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php index 6864f0ff..0d445fd2 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php index 3cdde556..ba63562a 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index d4ed4d38..fbf5a83b 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php index 438d064e..8e7446af 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php index d6bae0b4..ec464c56 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php index 4d860ab1..0787c67d 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 2a3c1c1b..33de871b 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php index e19a07f5..78c8c2f1 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php index 6d71de70..6ce0edb2 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php index ea793d07..c71efd96 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php index eed58e66..64b03f4b 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php index 341bee51..38e7d120 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php index 63b77bb2..ae70b284 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php index 8228523a..fc9e6d88 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0a648c2b..52bb9b45 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php index 5e023bbf..9948a22f 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php index abbabb97..d13c91aa 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php index b606f774..01e2126c 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index dc976c0e..78e1161f 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php index ccef1e35..c9114233 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php index 6f7e76b7..731f19f3 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php index 443d25da..c0616b5c 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 032774b8..ed5899a7 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index 4755af7f..94ea08f3 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php index 0d322675..b9dce211 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php index 78a69146..39d4c9a4 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php index ce55a94a..4cafeadf 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php index bee1c390..60f39925 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php index 227a6df2..6b84ad07 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php index 91b2c3a1..31112070 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ScheduleJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4b2a1d19..5b44cffd 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index acf23f42..5c4c890b 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php index d15b34f3..a021e353 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php index c770166f..09082245 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 1b397bf4..857d4023 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php index 335b8630..6b7f1749 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php @@ -1,36 +1,42 @@ setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +95,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php index c4b2353d..4ceca982 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php index 3543bdbb..2a578395 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php @@ -1,36 +1,42 @@ denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJsonldRead', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php index 7fe90173..3b3995f3 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php index 4df0d983..7a0c57ab 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php index 4354408e..89ca915d 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -77,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php index 5c8346c5..0847d177 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php index 20ed19cb..472cbcdc 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getDate()) { $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php index 1fe4a5a0..3c49eaa2 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getDate()) { $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php index 6a29b45a..1e8dc301 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -83,6 +108,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php index a3494d3d..3b314d9e 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -74,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php index f546e28a..9f0568a5 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -83,6 +108,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRecurrences()) { $data['recurrences'] = $object->getRecurrences(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php index 819776b6..319c9495 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -74,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRecurrences()) { $data['recurrences'] = $object->getRecurrences(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php index f0d9d6aa..e45a046a 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -95,6 +124,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php index 5eb2142e..d7b1692e 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php index afc70533..d269ebcc 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -83,6 +108,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getEnd()) { $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php index 29f8c6ca..b7b8015c 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php @@ -1,36 +1,42 @@ setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -74,6 +93,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getEnd()) { $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php index 679a7a59..b14f5931 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -95,6 +124,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php index 68832560..cb347651 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -86,6 +109,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleIdJsonldNormalizer.php b/src/Normalizer/ScheduleIdJsonldNormalizer.php index 8d3f8849..62767a44 100644 --- a/src/Normalizer/ScheduleIdJsonldNormalizer.php +++ b/src/Normalizer/ScheduleIdJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleJsonldNormalizer.php b/src/Normalizer/ScheduleJsonldNormalizer.php index a3c3827c..8c339d03 100644 --- a/src/Normalizer/ScheduleJsonldNormalizer.php +++ b/src/Normalizer/ScheduleJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('type', $data)) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType2($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType2(null); } - if (\array_key_exists('startAt', $data) && $data['startAt'] !== null) { + if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); - } - elseif (\array_key_exists('startAt', $data) && $data['startAt'] === null) { + } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { $object->setStartAt(null); } - if (\array_key_exists('interval', $data) && $data['interval'] !== null) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); - } - elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { $object->setInterval(null); } - if (\array_key_exists('endAt', $data) && $data['endAt'] !== null) { + if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); - } - elseif (\array_key_exists('endAt', $data) && $data['endAt'] === null) { + } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { $object->setEndAt(null); } - if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); - } - elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { $object->setRecurrences(null); } - if (\array_key_exists('executions', $data)) { - $values = array(); + if (\array_key_exists('executions', $data) && null !== $data['executions']) { + $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); + } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + $object->setExecutions(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); if (null !== $object->getType2()) { $data['type'] = $object->getType2(); @@ -134,7 +157,7 @@ public function normalize($object, $format = null, array $context = array()) $data['recurrences'] = $object->getRecurrences(); } if (null !== $object->getExecutions()) { - $values = array(); + $values = []; foreach ($object->getExecutions() as $value) { $values[] = $value; } @@ -149,6 +172,7 @@ public function normalize($object, $format = null, array $context = array()) $data['owner'] = $object->getOwner(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleNormalizer.php b/src/Normalizer/ScheduleNormalizer.php index 3cb735af..15683eab 100644 --- a/src/Normalizer/ScheduleNormalizer.php +++ b/src/Normalizer/ScheduleNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('type', $data)) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType(null); } - if (\array_key_exists('startAt', $data) && $data['startAt'] !== null) { + if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); - } - elseif (\array_key_exists('startAt', $data) && $data['startAt'] === null) { + } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { $object->setStartAt(null); } - if (\array_key_exists('interval', $data) && $data['interval'] !== null) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); - } - elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { $object->setInterval(null); } - if (\array_key_exists('endAt', $data) && $data['endAt'] !== null) { + if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); - } - elseif (\array_key_exists('endAt', $data) && $data['endAt'] === null) { + } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { $object->setEndAt(null); } - if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); - } - elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { $object->setRecurrences(null); } - if (\array_key_exists('executions', $data)) { - $values = array(); + if (\array_key_exists('executions', $data) && null !== $data['executions']) { + $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); + } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + $object->setExecutions(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); if (null !== $object->getType()) { $data['type'] = $object->getType(); @@ -125,7 +142,7 @@ public function normalize($object, $format = null, array $context = array()) $data['recurrences'] = $object->getRecurrences(); } if (null !== $object->getExecutions()) { - $values = array(); + $values = []; foreach ($object->getExecutions() as $value) { $values[] = $value; } @@ -140,6 +157,7 @@ public function normalize($object, $format = null, array $context = array()) $data['owner'] = $object->getOwner(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretInputJsonldNormalizer.php b/src/Normalizer/SecretInputJsonldNormalizer.php new file mode 100644 index 00000000..e1b7fddf --- /dev/null +++ b/src/Normalizer/SecretInputJsonldNormalizer.php @@ -0,0 +1,114 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && null !== $data['name']) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/SecretInputNormalizer.php b/src/Normalizer/SecretInputNormalizer.php new file mode 100644 index 00000000..9d72b000 --- /dev/null +++ b/src/Normalizer/SecretInputNormalizer.php @@ -0,0 +1,99 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && null !== $data['description']) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/SecretJsonldNormalizer.php b/src/Normalizer/SecretJsonldNormalizer.php index b8bea080..c8f3ecad 100644 --- a/src/Normalizer/SecretJsonldNormalizer.php +++ b/src/Normalizer/SecretJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -92,6 +121,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getIterator()) { $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretNormalizer.php b/src/Normalizer/SecretNormalizer.php index f2816628..fa7705aa 100644 --- a/src/Normalizer/SecretNormalizer.php +++ b/src/Normalizer/SecretNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -83,6 +106,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getIterator()) { $data['iterator'] = $object->getIterator(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretSecretInputJsonldNormalizer.php b/src/Normalizer/SecretSecretInputJsonldNormalizer.php index 83705b08..df3127c6 100644 --- a/src/Normalizer/SecretSecretInputJsonldNormalizer.php +++ b/src/Normalizer/SecretSecretInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('secrets', $data)) { - $object->setSecrets($this->denormalizer->denormalize($data['secrets'], 'Gyroscops\\Api\\Model\\SecretValueInputJsonld', 'json', $context)); + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } - if (null !== $object->getSecrets()) { - $data['secrets'] = $this->normalizer->normalize($object->getSecrets(), 'json', $context); + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretSecretInputNormalizer.php b/src/Normalizer/SecretSecretInputNormalizer.php index 7524c4eb..cf0a29a8 100644 --- a/src/Normalizer/SecretSecretInputNormalizer.php +++ b/src/Normalizer/SecretSecretInputNormalizer.php @@ -1,36 +1,42 @@ setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('secrets', $data)) { - $object->setSecrets($this->denormalizer->denormalize($data['secrets'], 'Gyroscops\\Api\\Model\\SecretValueInput', 'json', $context)); + if (\array_key_exists('contents', $data) && null !== $data['contents']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } - if (null !== $object->getSecrets()) { - $data['secrets'] = $this->normalizer->normalize($object->getSecrets(), 'json', $context); + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/StepInputJsonldNormalizer.php b/src/Normalizer/StepInputJsonldNormalizer.php index 8c7fcd99..def052d7 100644 --- a/src/Normalizer/StepInputJsonldNormalizer.php +++ b/src/Normalizer/StepInputJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('config', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('config', $data) && null !== $data['config']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['config'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfig($values); + } elseif (\array_key_exists('config', $data) && null === $data['config']) { + $object->setConfig(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } @@ -90,9 +115,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfig()) { - $values = array(); + $values = []; foreach ($object->getConfig() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -101,12 +126,13 @@ public function normalize($object, $format = null, array $context = array()) $data['config'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/StepInputNormalizer.php b/src/Normalizer/StepInputNormalizer.php index 5d50a2ff..bdc4f02f 100644 --- a/src/Normalizer/StepInputNormalizer.php +++ b/src/Normalizer/StepInputNormalizer.php @@ -1,36 +1,42 @@ setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('config', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + if (\array_key_exists('config', $data) && null !== $data['config']) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['config'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } $values[$key] = $values_1; } $object->setConfig($values); + } elseif (\array_key_exists('config', $data) && null === $data['config']) { + $object->setConfig(null); } - if (\array_key_exists('probes', $data)) { - $values_2 = array(); + if (\array_key_exists('probes', $data) && null !== $data['probes']) { + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } @@ -81,9 +100,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfig()) { - $values = array(); + $values = []; foreach ($object->getConfig() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -92,12 +111,13 @@ public function normalize($object, $format = null, array $context = array()) $data['config'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SubscriptionJsonldNormalizer.php b/src/Normalizer/SubscriptionJsonldNormalizer.php new file mode 100644 index 00000000..026d9f48 --- /dev/null +++ b/src/Normalizer/SubscriptionJsonldNormalizer.php @@ -0,0 +1,139 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && null !== $data['@id']) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('offer', $data) && null !== $data['offer']) { + $object->setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('options', $data) && null !== $data['options']) { + $values = []; + foreach ($data['options'] as $value) { + $values[] = $value; + } + $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); + } + if (\array_key_exists('cost', $data) && null !== $data['cost']) { + $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('cost', $data) && null === $data['cost']) { + $object->setCost(null); + } + if (\array_key_exists('periods', $data) && null !== $data['periods']) { + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['periods'] as $key => $value_1) { + $values_1[$key] = $value_1; + } + $object->setPeriods($values_1); + } elseif (\array_key_exists('periods', $data) && null === $data['periods']) { + $object->setPeriods(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['organization'] = $object->getOrganization(); + if (null !== $object->getOffer()) { + $data['offer'] = $object->getOffer(); + } + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + if (null !== $object->getPeriods()) { + $values_1 = []; + foreach ($object->getPeriods() as $key => $value_1) { + $values_1[$key] = $value_1; + } + $data['periods'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/SubscriptionNormalizer.php b/src/Normalizer/SubscriptionNormalizer.php new file mode 100644 index 00000000..cacf17bb --- /dev/null +++ b/src/Normalizer/SubscriptionNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); + } + if (\array_key_exists('offer', $data) && null !== $data['offer']) { + $object->setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('options', $data) && null !== $data['options']) { + $values = []; + foreach ($data['options'] as $value) { + $values[] = $value; + } + $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); + } + if (\array_key_exists('cost', $data) && null !== $data['cost']) { + $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('cost', $data) && null === $data['cost']) { + $object->setCost(null); + } + if (\array_key_exists('periods', $data) && null !== $data['periods']) { + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['periods'] as $key => $value_1) { + $values_1[$key] = $value_1; + } + $object->setPeriods($values_1); + } elseif (\array_key_exists('periods', $data) && null === $data['periods']) { + $object->setPeriods(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['organization'] = $object->getOrganization(); + if (null !== $object->getOffer()) { + $data['offer'] = $object->getOffer(); + } + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + if (null !== $object->getPeriods()) { + $values_1 = []; + foreach ($object->getPeriods() as $key => $value_1) { + $values_1[$key] = $value_1; + } + $data['periods'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php new file mode 100644 index 00000000..b79bb239 --- /dev/null +++ b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php @@ -0,0 +1,100 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && null !== $data['@type']) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && null !== $data['id']) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); + } + if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { + $object->setSubscription($data['subscription']); + } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { + $object->setSubscription(null); + } + if (\array_key_exists('option', $data) && null !== $data['option']) { + $object->setOption($data['option']); + } elseif (\array_key_exists('option', $data) && null === $data['option']) { + $object->setOption(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['subscription'] = $object->getSubscription(); + $data['option'] = $object->getOption(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/SubscriptionOptionNormalizer.php b/src/Normalizer/SubscriptionOptionNormalizer.php new file mode 100644 index 00000000..ae3b4de9 --- /dev/null +++ b/src/Normalizer/SubscriptionOptionNormalizer.php @@ -0,0 +1,90 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); + } + if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { + $object->setSubscription($data['subscription']); + } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { + $object->setSubscription(null); + } + if (\array_key_exists('option', $data) && null !== $data['option']) { + $object->setOption($data['option']); + } elseif (\array_key_exists('option', $data) && null === $data['option']) { + $object->setOption(null); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @param mixed $object + * @param mixed|null $format + * + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['subscription'] = $object->getSubscription(); + $data['option'] = $object->getOption(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/TokenNormalizer.php b/src/Normalizer/TokenNormalizer.php index 8a1b5aa5..705c37e6 100644 --- a/src/Normalizer/TokenNormalizer.php +++ b/src/Normalizer/TokenNormalizer.php @@ -1,36 +1,42 @@ setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/TraversableJsonldNormalizer.php b/src/Normalizer/TraversableJsonldNormalizer.php index 37144078..b8168a6c 100644 --- a/src/Normalizer/TraversableJsonldNormalizer.php +++ b/src/Normalizer/TraversableJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UpdateListJsonldNormalizer.php b/src/Normalizer/UpdateListJsonldNormalizer.php index d70f7bfd..ef77c764 100644 --- a/src/Normalizer/UpdateListJsonldNormalizer.php +++ b/src/Normalizer/UpdateListJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIterator()) { $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UpdateListNormalizer.php b/src/Normalizer/UpdateListNormalizer.php index 1b45dcff..18c1f315 100644 --- a/src/Normalizer/UpdateListNormalizer.php +++ b/src/Normalizer/UpdateListNormalizer.php @@ -1,36 +1,42 @@ setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIterator()) { $data['iterator'] = $object->getIterator(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserAuthorizationJsonldNormalizer.php b/src/Normalizer/UserAuthorizationJsonldNormalizer.php index 7d8b4c3a..be258234 100644 --- a/src/Normalizer/UserAuthorizationJsonldNormalizer.php +++ b/src/Normalizer/UserAuthorizationJsonldNormalizer.php @@ -1,36 +1,42 @@ setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('resource', $data)) { + if (\array_key_exists('resource', $data) && null !== $data['resource']) { $object->setResource($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); } - if (\array_key_exists('authorizations', $data)) { - $values = array(); + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['user'] = $object->getUser(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); $data['resource'] = $object->getResource(); - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserAuthorizationNormalizer.php b/src/Normalizer/UserAuthorizationNormalizer.php index 2ba78b12..d5e85eaf 100644 --- a/src/Normalizer/UserAuthorizationNormalizer.php +++ b/src/Normalizer/UserAuthorizationNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('resource', $data)) { + if (\array_key_exists('resource', $data) && null !== $data['resource']) { $object->setResource($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); } - if (\array_key_exists('authorizations', $data)) { - $values = array(); + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['user'] = $object->getUser(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); $data['resource'] = $object->getResource(); - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserIdJsonldNormalizer.php b/src/Normalizer/UserIdJsonldNormalizer.php index 7b7cf100..4e70dba7 100644 --- a/src/Normalizer/UserIdJsonldNormalizer.php +++ b/src/Normalizer/UserIdJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - return $data; + return []; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserJsonldNormalizer.php b/src/Normalizer/UserJsonldNormalizer.php index cdd23dc2..b0902210 100644 --- a/src/Normalizer/UserJsonldNormalizer.php +++ b/src/Normalizer/UserJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('password', $data)) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); } - if (\array_key_exists('enabled', $data)) { + if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { $object->setEnabled($data['enabled']); + } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + $object->setEnabled(null); } - if (\array_key_exists('roles', $data)) { - $values = array(); + if (\array_key_exists('roles', $data) && null !== $data['roles']) { + $values = []; foreach ($data['roles'] as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $object->setRoles($values); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); } - if (\array_key_exists('authorizations', $data)) { - $values_1 = array(); - foreach ($data['authorizations'] as $value_1) { - $values_1[] = $value_1; + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values_2 = []; + foreach ($data['authorizations'] as $value_2) { + $values_2[] = $value_2; } - $object->setAuthorizations($values_1); + $object->setAuthorizations($values_2); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('additionalOrganizations', $data)) { - $values_2 = array(); - foreach ($data['additionalOrganizations'] as $value_2) { - $values_2[] = $value_2; + if (\array_key_exists('additionalOrganizations', $data) && null !== $data['additionalOrganizations']) { + $values_3 = []; + foreach ($data['additionalOrganizations'] as $value_3) { + $values_3[] = $value_3; } - $object->setAdditionalOrganizations($values_2); + $object->setAdditionalOrganizations($values_3); + } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + $object->setAdditionalOrganizations(null); } - if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); - foreach ($data['workspaces'] as $value_3) { - $values_3[] = $value_3; + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_4 = []; + foreach ($data['workspaces'] as $value_4) { + $values_4[] = $value_4; } - $object->setWorkspaces($values_3); + $object->setWorkspaces($values_4); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } - if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { + if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { $object->setCurrentWorkspace($data['currentWorkspace']); - } - elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { + } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { $object->setCurrentWorkspace(null); } - if (\array_key_exists('referralCodes', $data)) { - $values_4 = array(); - foreach ($data['referralCodes'] as $value_4) { - $values_4[] = $value_4; + if (\array_key_exists('referralCodes', $data) && null !== $data['referralCodes']) { + $values_5 = []; + foreach ($data['referralCodes'] as $value_5) { + $values_5[] = $value_5; } - $object->setReferralCodes($values_4); + $object->setReferralCodes($values_5); + } elseif (\array_key_exists('referralCodes', $data) && null === $data['referralCodes']) { + $object->setReferralCodes(null); } - if (\array_key_exists('acceptedReferralRequests', $data)) { - $values_5 = array(); - foreach ($data['acceptedReferralRequests'] as $value_5) { - $values_5[] = $value_5; + if (\array_key_exists('acceptedReferralRequests', $data) && null !== $data['acceptedReferralRequests']) { + $values_6 = []; + foreach ($data['acceptedReferralRequests'] as $value_6) { + $values_6[] = $value_6; } - $object->setAcceptedReferralRequests($values_5); + $object->setAcceptedReferralRequests($values_6); + } elseif (\array_key_exists('acceptedReferralRequests', $data) && null === $data['acceptedReferralRequests']) { + $object->setAcceptedReferralRequests(null); } - if (\array_key_exists('userIdentifier', $data)) { + if (\array_key_exists('userIdentifier', $data) && null !== $data['userIdentifier']) { $object->setUserIdentifier($data['userIdentifier']); + } elseif (\array_key_exists('userIdentifier', $data) && null === $data['userIdentifier']) { + $object->setUserIdentifier(null); } - if (\array_key_exists('salt', $data)) { + if (\array_key_exists('salt', $data) && null !== $data['salt']) { $object->setSalt($data['salt']); + } elseif (\array_key_exists('salt', $data) && null === $data['salt']) { + $object->setSalt(null); } - if (\array_key_exists('workspace', $data)) { - $values_6 = array(); - foreach ($data['workspace'] as $value_6) { - $values_6[] = $value_6; + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $values_7 = []; + foreach ($data['workspace'] as $value_7) { + $values_7[] = $value_7; } - $object->setWorkspace($values_6); + $object->setWorkspace($values_7); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); $data['username'] = $object->getUsername(); @@ -157,46 +211,51 @@ public function normalize($object, $format = null, array $context = array()) $data['enabled'] = $object->getEnabled(); } if (null !== $object->getRoles()) { - $values = array(); + $values = []; foreach ($object->getRoles() as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $data['roles'] = $values; } if (null !== $object->getAuthorizations()) { - $values_1 = array(); - foreach ($object->getAuthorizations() as $value_1) { - $values_1[] = $value_1; + $values_2 = []; + foreach ($object->getAuthorizations() as $value_2) { + $values_2[] = $value_2; } - $data['authorizations'] = $values_1; + $data['authorizations'] = $values_2; } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } if (null !== $object->getAdditionalOrganizations()) { - $values_2 = array(); - foreach ($object->getAdditionalOrganizations() as $value_2) { - $values_2[] = $value_2; + $values_3 = []; + foreach ($object->getAdditionalOrganizations() as $value_3) { + $values_3[] = $value_3; } - $data['additionalOrganizations'] = $values_2; + $data['additionalOrganizations'] = $values_3; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); - foreach ($object->getWorkspaces() as $value_3) { - $values_3[] = $value_3; + $values_4 = []; + foreach ($object->getWorkspaces() as $value_4) { + $values_4[] = $value_4; } - $data['workspaces'] = $values_3; + $data['workspaces'] = $values_4; } if (null !== $object->getCurrentWorkspace()) { $data['currentWorkspace'] = $object->getCurrentWorkspace(); } if (null !== $object->getWorkspace()) { - $values_4 = array(); - foreach ($object->getWorkspace() as $value_4) { - $values_4[] = $value_4; + $values_5 = []; + foreach ($object->getWorkspace() as $value_5) { + $values_5[] = $value_5; } - $data['workspace'] = $values_4; + $data['workspace'] = $values_5; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserNormalizer.php b/src/Normalizer/UserNormalizer.php index 0575a502..8489f626 100644 --- a/src/Normalizer/UserNormalizer.php +++ b/src/Normalizer/UserNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('password', $data)) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); } - if (\array_key_exists('enabled', $data)) { + if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { $object->setEnabled($data['enabled']); + } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + $object->setEnabled(null); } - if (\array_key_exists('roles', $data)) { - $values = array(); + if (\array_key_exists('roles', $data) && null !== $data['roles']) { + $values = []; foreach ($data['roles'] as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $object->setRoles($values); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); } - if (\array_key_exists('authorizations', $data)) { - $values_1 = array(); - foreach ($data['authorizations'] as $value_1) { - $values_1[] = $value_1; + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values_2 = []; + foreach ($data['authorizations'] as $value_2) { + $values_2[] = $value_2; } - $object->setAuthorizations($values_1); + $object->setAuthorizations($values_2); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('additionalOrganizations', $data)) { - $values_2 = array(); - foreach ($data['additionalOrganizations'] as $value_2) { - $values_2[] = $value_2; + if (\array_key_exists('additionalOrganizations', $data) && null !== $data['additionalOrganizations']) { + $values_3 = []; + foreach ($data['additionalOrganizations'] as $value_3) { + $values_3[] = $value_3; } - $object->setAdditionalOrganizations($values_2); + $object->setAdditionalOrganizations($values_3); + } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + $object->setAdditionalOrganizations(null); } - if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); - foreach ($data['workspaces'] as $value_3) { - $values_3[] = $value_3; + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + $values_4 = []; + foreach ($data['workspaces'] as $value_4) { + $values_4[] = $value_4; } - $object->setWorkspaces($values_3); + $object->setWorkspaces($values_4); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } - if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { + if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { $object->setCurrentWorkspace($data['currentWorkspace']); - } - elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { + } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { $object->setCurrentWorkspace(null); } - if (\array_key_exists('referralCodes', $data)) { - $values_4 = array(); - foreach ($data['referralCodes'] as $value_4) { - $values_4[] = $value_4; + if (\array_key_exists('referralCodes', $data) && null !== $data['referralCodes']) { + $values_5 = []; + foreach ($data['referralCodes'] as $value_5) { + $values_5[] = $value_5; } - $object->setReferralCodes($values_4); + $object->setReferralCodes($values_5); + } elseif (\array_key_exists('referralCodes', $data) && null === $data['referralCodes']) { + $object->setReferralCodes(null); } - if (\array_key_exists('acceptedReferralRequests', $data)) { - $values_5 = array(); - foreach ($data['acceptedReferralRequests'] as $value_5) { - $values_5[] = $value_5; + if (\array_key_exists('acceptedReferralRequests', $data) && null !== $data['acceptedReferralRequests']) { + $values_6 = []; + foreach ($data['acceptedReferralRequests'] as $value_6) { + $values_6[] = $value_6; } - $object->setAcceptedReferralRequests($values_5); + $object->setAcceptedReferralRequests($values_6); + } elseif (\array_key_exists('acceptedReferralRequests', $data) && null === $data['acceptedReferralRequests']) { + $object->setAcceptedReferralRequests(null); } - if (\array_key_exists('userIdentifier', $data)) { + if (\array_key_exists('userIdentifier', $data) && null !== $data['userIdentifier']) { $object->setUserIdentifier($data['userIdentifier']); + } elseif (\array_key_exists('userIdentifier', $data) && null === $data['userIdentifier']) { + $object->setUserIdentifier(null); } - if (\array_key_exists('salt', $data)) { + if (\array_key_exists('salt', $data) && null !== $data['salt']) { $object->setSalt($data['salt']); + } elseif (\array_key_exists('salt', $data) && null === $data['salt']) { + $object->setSalt(null); } - if (\array_key_exists('workspace', $data)) { - $values_6 = array(); - foreach ($data['workspace'] as $value_6) { - $values_6[] = $value_6; + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $values_7 = []; + foreach ($data['workspace'] as $value_7) { + $values_7[] = $value_7; } - $object->setWorkspace($values_6); + $object->setWorkspace($values_7); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); $data['username'] = $object->getUsername(); @@ -148,46 +196,51 @@ public function normalize($object, $format = null, array $context = array()) $data['enabled'] = $object->getEnabled(); } if (null !== $object->getRoles()) { - $values = array(); + $values = []; foreach ($object->getRoles() as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $data['roles'] = $values; } if (null !== $object->getAuthorizations()) { - $values_1 = array(); - foreach ($object->getAuthorizations() as $value_1) { - $values_1[] = $value_1; + $values_2 = []; + foreach ($object->getAuthorizations() as $value_2) { + $values_2[] = $value_2; } - $data['authorizations'] = $values_1; + $data['authorizations'] = $values_2; } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } if (null !== $object->getAdditionalOrganizations()) { - $values_2 = array(); - foreach ($object->getAdditionalOrganizations() as $value_2) { - $values_2[] = $value_2; + $values_3 = []; + foreach ($object->getAdditionalOrganizations() as $value_3) { + $values_3[] = $value_3; } - $data['additionalOrganizations'] = $values_2; + $data['additionalOrganizations'] = $values_3; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); - foreach ($object->getWorkspaces() as $value_3) { - $values_3[] = $value_3; + $values_4 = []; + foreach ($object->getWorkspaces() as $value_4) { + $values_4[] = $value_4; } - $data['workspaces'] = $values_3; + $data['workspaces'] = $values_4; } if (null !== $object->getCurrentWorkspace()) { $data['currentWorkspace'] = $object->getCurrentWorkspace(); } if (null !== $object->getWorkspace()) { - $values_4 = array(); - foreach ($object->getWorkspace() as $value_4) { - $values_4[] = $value_4; + $values_5 = []; + foreach ($object->getWorkspace() as $value_5) { + $values_5[] = $value_5; } - $data['workspace'] = $values_4; + $data['workspace'] = $values_5; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserUserChangePasswordInputNormalizer.php b/src/Normalizer/UserUserChangePasswordInputNormalizer.php index 61bb796f..8f0341b6 100644 --- a/src/Normalizer/UserUserChangePasswordInputNormalizer.php +++ b/src/Normalizer/UserUserChangePasswordInputNormalizer.php @@ -1,36 +1,42 @@ setCurrentPassword($data['currentPassword']); + } elseif (\array_key_exists('currentPassword', $data) && null === $data['currentPassword']) { + $object->setCurrentPassword(null); } - if (\array_key_exists('newPassword', $data)) { + if (\array_key_exists('newPassword', $data) && null !== $data['newPassword']) { $object->setNewPassword($data['newPassword']); + } elseif (\array_key_exists('newPassword', $data) && null === $data['newPassword']) { + $object->setNewPassword(null); } - if (\array_key_exists('confirmPassword', $data)) { + if (\array_key_exists('confirmPassword', $data) && null !== $data['confirmPassword']) { $object->setConfirmPassword($data['confirmPassword']); + } elseif (\array_key_exists('confirmPassword', $data) && null === $data['confirmPassword']) { + $object->setConfirmPassword(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCurrentPassword()) { $data['currentPassword'] = $object->getCurrentPassword(); } @@ -68,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getConfirmPassword()) { $data['confirmPassword'] = $object->getConfirmPassword(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php b/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php index ac421ce8..4af6cd1b 100644 --- a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('configMap', $data) && $data['configMap'] !== null) { + if (\array_key_exists('configMap', $data) && null !== $data['configMap']) { $object->setConfigMap($data['configMap']); - } - elseif (\array_key_exists('configMap', $data) && $data['configMap'] === null) { + } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { $object->setConfigMap(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getConfigMap()) { $data['configMap'] = $object->getConfigMap(); } @@ -92,6 +113,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromConfigMapNormalizer.php b/src/Normalizer/VariableFromConfigMapNormalizer.php index b2d78b06..2d4d7402 100644 --- a/src/Normalizer/VariableFromConfigMapNormalizer.php +++ b/src/Normalizer/VariableFromConfigMapNormalizer.php @@ -1,36 +1,42 @@ setConfigMap($data['configMap']); - } - elseif (\array_key_exists('configMap', $data) && $data['configMap'] === null) { + } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { $object->setConfigMap(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getConfigMap()) { $data['configMap'] = $object->getConfigMap(); } @@ -83,6 +98,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromSecretJsonldNormalizer.php b/src/Normalizer/VariableFromSecretJsonldNormalizer.php index f5807a00..80b3a247 100644 --- a/src/Normalizer/VariableFromSecretJsonldNormalizer.php +++ b/src/Normalizer/VariableFromSecretJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); - } - elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSecret()) { $data['secret'] = $object->getSecret(); } @@ -92,6 +113,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromSecretNormalizer.php b/src/Normalizer/VariableFromSecretNormalizer.php index 4e278c51..bfb8c9eb 100644 --- a/src/Normalizer/VariableFromSecretNormalizer.php +++ b/src/Normalizer/VariableFromSecretNormalizer.php @@ -1,36 +1,42 @@ setSecret($data['secret']); - } - elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSecret()) { $data['secret'] = $object->getSecret(); } @@ -83,6 +98,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableJsonldNormalizer.php b/src/Normalizer/VariableJsonldNormalizer.php index b263cbfb..8b47a8b0 100644 --- a/src/Normalizer/VariableJsonldNormalizer.php +++ b/src/Normalizer/VariableJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('environment', $data)) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEnvironment()) { $data['environment'] = $object->getEnvironment(); } if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableNormalizer.php b/src/Normalizer/VariableNormalizer.php index 7b1c6c15..aa577e7f 100644 --- a/src/Normalizer/VariableNormalizer.php +++ b/src/Normalizer/VariableNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('environment', $data)) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEnvironment()) { $data['environment'] = $object->getEnvironment(); } if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php index c01dd682..33b9e68f 100644 --- a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php index 8b57efcf..418687ce 100644 --- a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionNormalizer.php b/src/Normalizer/WorkflowJobActionNormalizer.php index 6430824a..c5ffad72 100644 --- a/src/Normalizer/WorkflowJobActionNormalizer.php +++ b/src/Normalizer/WorkflowJobActionNormalizer.php @@ -1,36 +1,42 @@ setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionReadNormalizer.php index 04c5d494..793c5e0f 100644 --- a/src/Normalizer/WorkflowJobActionReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php index 72892432..d417a950 100644 --- a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); - } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $object->setWorkflow($data['workflow']); + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['workflow'] = $object->getWorkflow(); if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); @@ -84,6 +98,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getAction()) { $data['action'] = $object->getAction(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php index 6647db80..65793d3f 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { - $values = array(); + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { - $values_2 = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php index 55013ff9..84faed18 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { - $values = array(); + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { - $values_2 = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineNormalizer.php b/src/Normalizer/WorkflowJobPipelineNormalizer.php index 50175d9d..3038bdb6 100644 --- a/src/Normalizer/WorkflowJobPipelineNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineNormalizer.php @@ -1,36 +1,42 @@ setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { - $values = array(); + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { - $values_2 = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php index 28e76204..fb22f8a6 100644 --- a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { - $values = array(); + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { - $values_2 = array(); + if (\array_key_exists('steps', $data) && null !== $data['steps']) { + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobReadNormalizer.php b/src/Normalizer/WorkflowJobReadNormalizer.php index 9798b06b..f5215799 100644 --- a/src/Normalizer/WorkflowJobReadNormalizer.php +++ b/src/Normalizer/WorkflowJobReadNormalizer.php @@ -1,36 +1,42 @@ setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['workflow'] = $object->getWorkflow(); if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); @@ -75,6 +83,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getAction()) { $data['action'] = $object->getAction(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJsonldReadNormalizer.php b/src/Normalizer/WorkflowJsonldReadNormalizer.php index b92c9a42..ae501f2b 100644 --- a/src/Normalizer/WorkflowJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJsonldReadNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); - } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); + } + if (\array_key_exists('@context', $data) && null !== $data['@context']) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('jobs', $data)) { - $values = array(); + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['jobs'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowReadNormalizer.php b/src/Normalizer/WorkflowReadNormalizer.php index 60d1dc26..efa81a44 100644 --- a/src/Normalizer/WorkflowReadNormalizer.php +++ b/src/Normalizer/WorkflowReadNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('jobs', $data)) { - $values = array(); + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json', $context); } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['jobs'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkspaceJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldNormalizer.php index 8d84cb08..c75bc793 100644 --- a/src/Normalizer/WorkspaceJsonldNormalizer.php +++ b/src/Normalizer/WorkspaceJsonldNormalizer.php @@ -1,36 +1,42 @@ setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('authorizations', $data)) { - $values = array(); + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('users', $data)) { - $values_1 = array(); + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); $data['organization'] = $object->getOrganization(); if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; } if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkspaceNormalizer.php b/src/Normalizer/WorkspaceNormalizer.php index 4b3aea5b..a110b612 100644 --- a/src/Normalizer/WorkspaceNormalizer.php +++ b/src/Normalizer/WorkspaceNormalizer.php @@ -1,36 +1,42 @@ setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); + if (\array_key_exists('slug', $data) && null !== $data['slug']) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('authorizations', $data)) { - $values = array(); + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('users', $data)) { - $values_1 = array(); + if (\array_key_exists('users', $data) && null !== $data['users']) { + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } + return $object; } + /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); $data['organization'] = $object->getOrganization(); if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; } if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Runtime/Client/BaseEndpoint.php b/src/Runtime/Client/BaseEndpoint.php index a629313b..c8192d42 100644 --- a/src/Runtime/Client/BaseEndpoint.php +++ b/src/Runtime/Client/BaseEndpoint.php @@ -1,65 +1,82 @@ getQueryOptionsResolver()->resolve($this->queryParameters); - $optionsResolved = array_map(function ($value) { - return null !== $value ? $value : ''; - }, $optionsResolved); - return http_build_query($optionsResolved, '', '&', PHP_QUERY_RFC3986); + $optionsResolved = array_map(fn ($value) => null !== $value ? $value : '', $optionsResolved); + + return http_build_query($optionsResolved, '', '&', \PHP_QUERY_RFC3986); } - public function getHeaders(array $baseHeaders = []) : array + + public function getHeaders(array $baseHeaders = []): array { return array_merge($this->getExtraHeaders(), $baseHeaders, $this->getHeadersOptionsResolver()->resolve($this->headerParameters)); } - protected function getQueryOptionsResolver() : OptionsResolver + + protected function getQueryOptionsResolver(): OptionsResolver { return new OptionsResolver(); } - protected function getHeadersOptionsResolver() : OptionsResolver + + protected function getHeadersOptionsResolver(): OptionsResolver { return new OptionsResolver(); } + // ---------------------------------------------------------------------------------------------------- // Used for OpenApi2 compatibility - protected function getFormBody() : array + protected function getFormBody(): array { return [['Content-Type' => ['application/x-www-form-urlencoded']], http_build_query($this->getFormOptionsResolver()->resolve($this->formParameters))]; } - protected function getMultipartBody($streamFactory = null) : array + + protected function getMultipartBody($streamFactory = null): array { $bodyBuilder = new MultipartStreamBuilder($streamFactory); $formParameters = $this->getFormOptionsResolver()->resolve($this->formParameters); foreach ($formParameters as $key => $value) { $bodyBuilder->addResource($key, $value); } - return [['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '"')]], $bodyBuilder->build()]; + + return [['Content-Type' => ['multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'"')]], $bodyBuilder->build()]; } - protected function getFormOptionsResolver() : OptionsResolver + + protected function getFormOptionsResolver(): OptionsResolver { return new OptionsResolver(); } - protected function getSerializedBody(SerializerInterface $serializer) : array + + protected function getSerializedBody(SerializerInterface $serializer): array { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } -} \ No newline at end of file +} diff --git a/src/Runtime/Client/Client.php b/src/Runtime/Client/Client.php index 88bee2a6..eb27c299 100644 --- a/src/Runtime/Client/Client.php +++ b/src/Runtime/Client/Client.php @@ -1,13 +1,17 @@ httpClient = $httpClient; @@ -35,19 +40,36 @@ public function __construct(ClientInterface $httpClient, RequestFactoryInterface $this->serializer = $serializer; $this->streamFactory = $streamFactory; } + public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_OBJECT) + { + if (self::FETCH_RESPONSE === $fetch) { + trigger_deprecation('jane-php/open-api-common', '7.3', 'Using %s::%s method with $fetch parameter equals to response is deprecated, use %s::%s instead.', __CLASS__, __METHOD__, __CLASS__, 'executeRawEndpoint'); + + return $this->executeRawEndpoint($endpoint); + } + + return $endpoint->parseResponse($this->processEndpoint($endpoint), $this->serializer, $fetch); + } + + public function executeRawEndpoint(Endpoint $endpoint): ResponseInterface + { + return $this->processEndpoint($endpoint); + } + + private function processEndpoint(Endpoint $endpoint): ResponseInterface { [$bodyHeaders, $body] = $endpoint->getBody($this->serializer, $this->streamFactory); $queryString = $endpoint->getQueryString(); - $uriGlue = false === strpos($endpoint->getUri(), '?') ? '?' : '&'; - $uri = $queryString !== '' ? $endpoint->getUri() . $uriGlue . $queryString : $endpoint->getUri(); + $uriGlue = !str_contains($endpoint->getUri(), '?') ? '?' : '&'; + $uri = '' !== $queryString ? $endpoint->getUri().$uriGlue.$queryString : $endpoint->getUri(); $request = $this->requestFactory->createRequest($endpoint->getMethod(), $uri); if ($body) { if ($body instanceof StreamInterface) { $request = $request->withBody($body); - } elseif (is_resource($body)) { + } elseif (\is_resource($body)) { $request = $request->withBody($this->streamFactory->createStreamFromResource($body)); - } elseif (strlen($body) <= 4000 && @file_exists($body)) { + } elseif (\strlen($body) <= 4000 && @file_exists($body)) { // more than 4096 chars will trigger an error $request = $request->withBody($this->streamFactory->createStreamFromFile($body)); } else { @@ -57,13 +79,14 @@ public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_ foreach ($endpoint->getHeaders($bodyHeaders) as $name => $value) { $request = $request->withHeader($name, $value); } - if (count($endpoint->getAuthenticationScopes()) > 0) { + if (\count($endpoint->getAuthenticationScopes()) > 0) { $scopes = []; foreach ($endpoint->getAuthenticationScopes() as $scope) { $scopes[] = $scope; } $request = $request->withHeader(AuthenticationRegistry::SCOPES_HEADER, $scopes); } - return $endpoint->parseResponse($this->httpClient->sendRequest($request), $this->serializer, $fetch); + + return $this->httpClient->sendRequest($request); } -} \ No newline at end of file +} diff --git a/src/Runtime/Client/CustomQueryResolver.php b/src/Runtime/Client/CustomQueryResolver.php index f129c7b8..506221bd 100644 --- a/src/Runtime/Client/CustomQueryResolver.php +++ b/src/Runtime/Client/CustomQueryResolver.php @@ -1,9 +1,12 @@ hasHeader('Content-Type') ? current($response->getHeader('Content-Type')) : null; - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer, $contentType); - } - if ($fetchMode === Client::FETCH_RESPONSE) { - return $response; - } - throw new InvalidFetchModeException(sprintf('Fetch mode %s is not supported', $fetchMode)); + $contentType = $response->hasHeader('Content-Type') ? current($response->getHeader('Content-Type')) : null; + + return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer, $contentType); } -} \ No newline at end of file +} diff --git a/src/Runtime/Normalizer/CheckArray.php b/src/Runtime/Normalizer/CheckArray.php index 559358c4..07e7a880 100644 --- a/src/Runtime/Normalizer/CheckArray.php +++ b/src/Runtime/Normalizer/CheckArray.php @@ -1,13 +1,13 @@ is_numeric($key), \ARRAY_FILTER_USE_KEY)) === \count($array); } -} \ No newline at end of file +} diff --git a/src/Runtime/Normalizer/ReferenceNormalizer.php b/src/Runtime/Normalizer/ReferenceNormalizer.php index 0338acb0..c55e7757 100644 --- a/src/Runtime/Normalizer/ReferenceNormalizer.php +++ b/src/Runtime/Normalizer/ReferenceNormalizer.php @@ -1,9 +1,12 @@ getReferenceUri(); + return $ref; } + /** * {@inheritdoc} */ - public function supportsNormalization($data, $format = null) + public function supportsNormalization($data, $format = null): bool { return $data instanceof Reference; } -} \ No newline at end of file +}