diff --git a/composer.json b/composer.json index c8aa4f3a..65241f00 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,8 @@ }, "require-dev": { "jane-php/open-api-3": "^7.2", - "friendsofphp/php-cs-fixer": "^3.11" + "friendsofphp/php-cs-fixer": "^3.11", + "rector/rector": "^0.15.19" }, "config": { "bin-dir": "bin" diff --git a/composer.lock b/composer.lock index de1d96c5..23351225 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": "cbf97bf335563a8121b13da8017b79c9", + "content-hash": "f92cdffed9660bc62be2be2f4243623e", "packages": [ { "name": "clue/stream-filter", @@ -2333,6 +2333,65 @@ }, "time": "2022-09-04T07:30:47+00:00" }, + { + "name": "phpstan/phpstan", + "version": "1.10.3", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "5419375b5891add97dc74be71e6c1c34baaddf64" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5419375b5891add97dc74be71e6c1c34baaddf64", + "reference": "5419375b5891add97dc74be71e6c1c34baaddf64", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/1.10.3" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2023-02-25T14:47:13+00:00" + }, { "name": "psr/cache", "version": "3.0.0", @@ -2535,6 +2594,61 @@ }, "time": "2021-07-14T16:46:02+00:00" }, + { + "name": "rector/rector", + "version": "0.15.19", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "4b3a85382e890963a6d00e0ace8d09465f96e370" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/4b3a85382e890963a6d00e0ace8d09465f96e370", + "reference": "4b3a85382e890963a6d00e0ace8d09465f96e370", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.10.1" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.15-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/0.15.19" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-02-28T10:47:53+00:00" + }, { "name": "sebastian/diff", "version": "4.0.4", diff --git a/jane/gyroscops.json b/jane/gyroscops.json index acceced6..b66a0a13 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\/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 +{"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\/configuration":{"post":{"operationId":"postConfigurationCollection","tags":["Configuration"],"responses":{"201":{"description":"Configuration resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}},"links":{"GetConfigurationItem":{"operationId":"getConfigurationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/configuration\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Configuration resource.","description":"Creates a Configuration resource.","parameters":[],"requestBody":{"description":"The new Configuration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.CreateConfigurationInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.CreateConfigurationInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration.CreateConfigurationInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/configuration\/{id}":{"get":{"operationId":"getConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Configuration resource.","description":"Retrieves a Configuration 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":"editConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}},"links":{"GetConfigurationItem":{"operationId":"getConfigurationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/configuration\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Configuration resource.","description":"Replaces the Configuration 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 Configuration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld-edit"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration-edit"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration-edit"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteConfigurationItem","tags":["Configuration"],"responses":{"204":{"description":"Configuration resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Configuration resource.","description":"Removes the Configuration 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\/configuration\/{id}\/change":{"put":{"operationId":"change_valuesConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}},"links":{"GetConfigurationItem":{"operationId":"getConfigurationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/configuration\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Change the configuration values inside an existing configurations storage","description":"Change the configuration values inside an existing configurations storage","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 Configuration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.ChangeConfigurationValueInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.ChangeConfigurationValueInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration.ChangeConfigurationValueInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/configuration\/{id}\/remove":{"put":{"operationId":"remove_valuesConfigurationItem","tags":["Configuration"],"responses":{"200":{"description":"Configuration resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}},"links":{"GetConfigurationItem":{"operationId":"getConfigurationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/configuration\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Remove some configuration values inside an existing configurations storage","description":"Remove some configuration values inside an existing configurations storage","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 Configuration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.RemoveConfigurationValueInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration.RemoveConfigurationValueInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Configuration.RemoveConfigurationValueInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/configurations":{"get":{"operationId":"getConfigurationCollection","tags":["Configuration"],"responses":{"200":{"description":"Configuration collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Configuration.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\/Configuration"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}}}}},"summary":"Retrieves the collection of Configuration resources.","description":"Retrieves the collection of Configuration 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-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}}},"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.CreateEnvironmentInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.CreateEnvironmentInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.CreateEnvironmentInput"}}},"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-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}}}},"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},"put":{"operationId":"editEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}}},"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"},"404":{"description":"Resource not found"}},"summary":"Replaces the Environment resource.","description":"Replaces the 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}],"requestBody":{"description":"The updated Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteEnvironmentItem","tags":["Environment"],"responses":{"204":{"description":"Environment resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Environment resource.","description":"Removes the 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\/environment\/{id}\/add-variables-from-configuration\/{configuration}":{"put":{"operationId":"add_variables_from_configurationEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}}},"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"},"404":{"description":"Resource not found"}},"summary":"Add variables from an existing configuration storage","description":"Add variables from an existing configuration storage","parameters":[{"name":"configuration","in":"path","description":"Configuration identifier","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}],"requestBody":{"description":"The updated Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConfigurationInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConfigurationInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConfigurationInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment\/{id}\/add-variables-from-constant":{"put":{"operationId":"add_variables_from_constantEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}}},"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"},"404":{"description":"Resource not found"}},"summary":"Add variables with a constant value","description":"Add variables with a constant value","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 Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConstantInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConstantInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromConstantInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment\/{id}\/add-variables-from-secret\/{secret}":{"put":{"operationId":"add_variables_from_secretEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment-read"}}},"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"},"404":{"description":"Resource not found"}},"summary":"Add variables from an existing secret storage","description":"Add variables from an existing secret storage","parameters":[{"name":"secret","in":"path","description":"Secret identifier","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}],"requestBody":{"description":"The updated Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromSecretInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromSecretInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment.AddMultipleVariableFromSecretInput"}}},"required":true},"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-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\/Environment-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment-read"}}}}}},"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\/environments\/{id}\/variables":{"get":{"operationId":"api_environments_variables_get_subresourceEnvironmentSubresource","tags":["Variable","Environment"],"responses":{"200":{"description":"Environment resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Variable.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\/Variable-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Variable-read"}}}}}},"summary":"Retrieves a Environment resource.","description":"Retrieves a Environment resource.","parameters":[{"name":"id","in":"path","description":"Environment 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":[]},"\/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.CreateSecretInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.CreateSecretInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.CreateSecretInput"}}},"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},"put":{"operationId":"editSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Replaces the Secret resource.","description":"Replaces the 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}],"requestBody":{"description":"The updated Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld-edit"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret-edit"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret-edit"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteSecretItem","tags":["Secret"],"responses":{"204":{"description":"Secret resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Secret resource.","description":"Removes the 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}\/change":{"put":{"operationId":"change_valuesSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Change the secret values values inside an existing secrets storage","description":"Change the secret values values inside an existing secrets storage","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 Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.ChangeSecretValueInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.ChangeSecretValueInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.ChangeSecretValueInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}\/remove":{"put":{"operationId":"remove_valuesSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Remove some secret values inside an existing secrets storage","description":"Remove some secret values inside an existing secrets storage","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 Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.RemoveSecretValueInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.RemoveSecretValueInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.RemoveSecretValueInput"}}},"required":true},"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\/variables-from-configuration\/{id}":{"get":{"operationId":"getVariableFromConfigurationItem","tags":["VariableFromConfiguration"],"responses":{"200":{"description":"VariableFromConfiguration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromConfiguration resource.","description":"Retrieves a VariableFromConfiguration 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":"editVariableFromConfigurationItem","tags":["VariableFromConfiguration"],"responses":{"200":{"description":"VariableFromConfiguration resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-read"}}},"links":{"GetVariableFromConfigurationItem":{"operationId":"getVariableFromConfigurationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variables-from-configuration\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the VariableFromConfiguration resource.","description":"Replaces the VariableFromConfiguration 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 VariableFromConfiguration resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration.jsonld-write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfiguration-write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteVariableFromConfigurationItem","tags":["VariableFromConfiguration"],"responses":{"204":{"description":"VariableFromConfiguration resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the VariableFromConfiguration resource.","description":"Removes the VariableFromConfiguration 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\/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\/compilation":{"post":{"operationId":"postCompilationCollection","tags":["Compilation"],"responses":{"202":{"description":"Compilation resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Compilation.CompilePipelineCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Compilation.CompilePipelineCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Compilation.CompilePipelineCommand"}}},"links":{"GetCompilationItem":{"operationId":"getCompilationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/compilation\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a pipeline compilation","description":"Creates a pipeline compilation","parameters":[],"requestBody":{"description":"The new Compilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Compilation.CompilePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Compilation.CompilePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Compilation.CompilePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/compilation\/{id}":{"get":{"operationId":"getCompilationItem","tags":["Compilation"],"responses":{"200":{"description":"Compilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Compilation.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Compilation"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Compilation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Compilation resource.","description":"Retrieves a Compilation 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\/compilation\/{id}\/organization":{"get":{"operationId":"api_compilations_organization_get_subresourceCompilationSubresource","tags":["Organization","Compilation"],"responses":{"200":{"description":"Compilation 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 Compilation resource.","description":"Retrieves a Compilation resource.","parameters":[{"name":"id","in":"path","description":"Compilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/compilation\/{id}\/user":{"get":{"operationId":"api_compilations_user_get_subresourceCompilationSubresource","tags":["User","Compilation"],"responses":{"200":{"description":"Compilation 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 Compilation resource.","description":"Retrieves a Compilation resource.","parameters":[{"name":"id","in":"path","description":"Compilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/compilation\/{id}\/workspace":{"get":{"operationId":"api_compilations_workspace_get_subresourceCompilationSubresource","tags":["Workspace","Compilation"],"responses":{"200":{"description":"Compilation 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 Compilation resource.","description":"Retrieves a Compilation resource.","parameters":[{"name":"id","in":"path","description":"Compilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/compilations":{"get":{"operationId":"getCompilationCollection","tags":["Compilation"],"responses":{"200":{"description":"Compilation collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Compilation.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\/Compilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Compilation"}}}}}},"summary":"Retrieves the collection of Compilation resources.","description":"Retrieves the collection of Compilation 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":{"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\/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}\/finish":{"put":{"operationId":"finish_executionExecutionItem","tags":["Execution"],"responses":{"202":{"description":"Execution resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Finishes a pipeline execution","description":"Finishes a pipeline execution","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 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\/execution\/{id}\/interrupt":{"put":{"operationId":"interrupt_executionExecutionItem","tags":["Execution"],"responses":{"202":{"description":"Execution resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Interrupts a pipeline execution","description":"Interrupts a pipeline execution","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 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\/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}\/resume":{"put":{"operationId":"resume_executionExecutionItem","tags":["Execution"],"responses":{"202":{"description":"Execution resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Resumes a pipeline execution","description":"Resumes a pipeline execution","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 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\/execution\/{id}\/start":{"put":{"operationId":"start_executionExecutionItem","tags":["Execution"],"responses":{"202":{"description":"Execution resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Starts a pipeline execution","description":"Starts a pipeline execution","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 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\/execution\/{id}\/terminate":{"put":{"operationId":"terminate_executionExecutionItem","tags":["Execution"],"responses":{"202":{"description":"Execution resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Terminates a pipeline execution","description":"Terminates a pipeline execution","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 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\/execution\/{id}\/update-state":{"put":{"operationId":"update_execution_stateExecutionItem","tags":["Execution"],"responses":{"202":{"description":"Execution resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Updates a pipeline execution state","description":"Updates a pipeline execution state","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 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\/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\/pipeline":{"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\/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}\/add-composer-auth":{"put":{"operationId":"add_composer_auth_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommand-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"},"404":{"description":"Resource not found"}},"summary":"Adds a composer auth to a pipeline","description":"Adds a composer auth to 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerAuthCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/add-composer-autoload":{"put":{"operationId":"add_composer_autoload_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Adds PSR4 autoload composer to a pipeline","description":"Adds PSR4 autoload composer to 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}],"requestBody":{"description":"The updated 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\/pipeline\/{id}\/add-composer-package":{"put":{"operationId":"add_composer_package_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommand-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"},"404":{"description":"Resource not found"}},"summary":"Adds a composer package to a pipeline","description":"Adds a composer package to 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPackageCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/add-composer-repository":{"put":{"operationId":"add_composer_repository_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommand-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"},"404":{"description":"Resource not found"}},"summary":"Adds a composer repository to a pipeline","description":"Adds a composer repository to 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerRepositoryCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/compilations":{"get":{"operationId":"api_pipelines_compilations_get_subresourcePipelineSubresource","tags":["Compilation","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Compilation.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\/Compilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Compilation"}}}}}},"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}\/compile":{"put":{"operationId":"pipeline_compilationPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Creates a pipeline compilation","description":"Creates a pipeline compilation","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 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\/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}\/remove-composer-auth":{"put":{"operationId":"remove_composer_auth_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommand-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"},"404":{"description":"Resource not found"}},"summary":"Removes a composer auth from a pipeline","description":"Removes a composer auth from 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerAuthCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/remove-composer-autoload":{"put":{"operationId":"remove_composer_autoload_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommand-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"},"404":{"description":"Resource not found"}},"summary":"Removes PSR4 autoload composer from a pipeline","description":"Removes PSR4 autoload composer from 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/remove-composer-package":{"put":{"operationId":"remove_composer_package_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommand-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"},"404":{"description":"Resource not found"}},"summary":"Removes a composer package from a pipeline","description":"Removes a composer package from 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerPackageCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/remove-composer-repository":{"put":{"operationId":"remove_composer_repository_pipelinePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommand-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"},"404":{"description":"Resource not found"}},"summary":"Removes a repository from a pipeline","description":"Adds a repository from 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}],"requestBody":{"description":"The updated Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.RemovePipelineComposerRepositoryCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step":{"put":{"operationId":"append_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Appends a step to a pipeline","description":"Appends a step to 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}],"requestBody":{"description":"The updated 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\/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}\/add-after":{"put":{"operationId":"add_after_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Adds a step after another one in a pipeline","description":"Adds a step after another one in 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}],"requestBody":{"description":"The updated 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\/pipeline\/{id}\/step\/{code}\/add-before":{"put":{"operationId":"add_before_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Adds a step before another one in a pipeline","description":"Adds a step before another one in 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}],"requestBody":{"description":"The updated 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\/pipeline\/{id}\/step\/{code}\/move-after":{"put":{"operationId":"move_after_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Moves a step after another one in a pipeline","description":"Moves a step after another one in 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}],"requestBody":{"description":"The updated 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\/pipeline\/{id}\/step\/{code}\/move-before":{"put":{"operationId":"move_before_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Moves a step before another one in a pipeline","description":"Moves a step before another one in 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}],"requestBody":{"description":"The updated 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\/pipeline\/{id}\/step\/{code}\/probe":{"put":{"operationId":"add_pipeline_step_probePipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Adds a probe to a step","description":"Adds a probe to a step","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 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\/pipeline\/{id}\/step\/{code}\/probe\/{probeCode}":{"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":"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}\/replace":{"put":{"operationId":"replace_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Replaces a step by another one in a pipeline","description":"Replaces a step by another one in 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}],"requestBody":{"description":"The updated 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\/pipeline\/{id}\/steps":{"get":{"operationId":"api_pipelines_steps_get_subresourcePipelineSubresource","tags":["PipelineStep","Pipeline"],"responses":{"200":{"description":"Pipeline resource","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 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}\/steps\/reorder":{"put":{"operationId":"reorder_pipeline_stepsPipelineItem","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource updated","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"},"404":{"description":"Resource not found"}},"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":[{"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 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\/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},"parameters":[]},"\/runtime\/schedule":{"post":{"operationId":"postScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.ScheduleCommandInterface.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.ScheduleCommandInterface"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.ScheduleCommandInterface"}}},"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","description":"\nIn order to differentiate the different types of schedules, we have set up a field named \"type\" :\n* 1 => Immediate\n* 2 => Once\n* 3 => Times\n* 4 => Until\n ","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleCommandInput"}}},"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\/pipelines":{"get":{"operationId":"getWorkflowJobPipelineCollection","tags":["WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.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\/WorkflowJobPipeline"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}}}}}},"summary":"Retrieves the collection of WorkflowJobPipeline resources.","description":"Retrieves the collection of WorkflowJobPipeline 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\/workflow-job-pipelines\/{id}\/steps":{"get":{"operationId":"api_workflow_job_pipelines_steps_get_subresourceWorkflowJobPipelineSubresource","tags":["PipelineStep","WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline resource","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 a WorkflowJobPipeline resource.","description":"Retrieves a WorkflowJobPipeline resource.","parameters":[{"name":"id","in":"path","description":"WorkflowJobPipeline 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}":{"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":[]},"\/variables-from-constant\/{id}":{"get":{"operationId":"getVariableFromConstantItem","tags":["VariableFromConstant"],"responses":{"200":{"description":"VariableFromConstant resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromConstant resource.","description":"Retrieves a VariableFromConstant 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":"editVariableFromConstantItem","tags":["VariableFromConstant"],"responses":{"200":{"description":"VariableFromConstant resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-read"}}},"links":{"GetVariableFromConstantItem":{"operationId":"getVariableFromConstantItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/variables-from-constant\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the VariableFromConstant resource.","description":"Replaces the VariableFromConstant 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 VariableFromConstant resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant.jsonld-write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConstant-write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteVariableFromConstantItem","tags":["VariableFromConstant"],"responses":{"204":{"description":"VariableFromConstant resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the VariableFromConstant resource.","description":"Removes the VariableFromConstant 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":[]},"\/variables-from-secret\/{id}":{"get":{"operationId":"getVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-read"}}}},"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},"put":{"operationId":"editVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-read"}}},"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 \/variables-from-secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the VariableFromSecret resource.","description":"Replaces the 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}],"requestBody":{"description":"The updated VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld-write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret-write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"204":{"description":"VariableFromSecret resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the VariableFromSecret resource.","description":"Removes the 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":[]}},"components":{"schemas":{"AbstractPipeline":{"type":"object","required":["id","code","label","runtimeType","repositories","auths"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline.jsonld":{"type":"object","required":["id","code","label","runtimeType","repositories","auths"],"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":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"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"}}},"AddPipelineComposerAuthCommandInput":{"type":"object","properties":{"url":{"type":"string"},"token":{"type":"string"}}},"AddPipelineComposerAuthCommandInput.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"},"token":{"type":"string"}}},"AddPipelineComposerRepositoryCommandInput":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}},"AddPipelineComposerRepositoryCommandInput.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"},"type":{"type":"string"},"url":{"type":"string"}}},"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\/CreateSecretInput"}}},"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\/CreateSecretInput.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","required":["namespace","paths"],"properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"AutoloadInput.jsonld":{"type":"object","required":["namespace","paths"],"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"}}},"Compilation":{"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"}}},"Compilation.CompilePipelineCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/PipelineId"}}},"Compilation.CompilePipelineCommand.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\/PipelineId.jsonld"}}},"Compilation.CompilePipelineCommandInput":{"type":"object","required":["pipeline"],"properties":{"pipeline":{"type":"string","format":"iri-reference"}}},"Compilation.CompilePipelineCommandInput.jsonld":{"type":"object","required":["pipeline"],"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":{"type":"string","format":"iri-reference"}}},"Compilation.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"}}},"Configuration":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Configuration-edit":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Configuration-read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string"}}}},"Configuration.ChangeConfigurationValueInput":{"type":"object","properties":{"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Configuration.ChangeConfigurationValueInput.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"},"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Configuration.CreateConfigurationInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Configuration.CreateConfigurationInput.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"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Configuration.RemoveConfigurationValueInput":{"type":"object","properties":{"id":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ConfigurationId"}]},"contents":{"type":"array","items":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Configuration.RemoveConfigurationValueInput.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":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ConfigurationId.jsonld"}]},"contents":{"type":"array","items":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Configuration.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"},"slug":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Configuration.jsonld-edit":{"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"}}},"Configuration.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"},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string"}}}},"ConfigurationId":{"type":"object"},"ConfigurationId.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"}}},"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"}}},"CreateSecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"CreateSecretInput.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"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"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-read":{"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"}}},"Environment-write":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Environment.AddMultipleVariableFromConfigurationInput":{"type":"object","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigurationInput"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Environment.AddMultipleVariableFromConfigurationInput.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"},"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigurationInput.jsonld"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Environment.AddMultipleVariableFromConstantInput":{"type":"object","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConstantInput"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Environment.AddMultipleVariableFromConstantInput.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"},"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConstantInput.jsonld"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Environment.AddMultipleVariableFromSecretInput":{"type":"object","properties":{"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecretInput"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Environment.AddMultipleVariableFromSecretInput.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"},"variables":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecretInput.jsonld"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Environment.CreateEnvironmentInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"variables":{"type":"array","items":{"type":"string","format":"iri-reference"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Environment.CreateEnvironmentInput.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"},"variables":{"type":"array","items":{"type":"string","format":"iri-reference"}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Environment.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"},"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"}}},"Environment.jsonld-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"},"name":{"type":"string"},"description":{"type":"string"}}},"Execution-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason"],"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}}},"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","required":["schedule","pipeline"],"properties":{"schedule":{"type":"string","format":"iri-reference"},"pipeline":{"type":"string","format":"iri-reference"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","required":["schedule","pipeline"],"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":{"type":"string","format":"iri-reference"},"pipeline":{"type":"string","format":"iri-reference"}}},"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"},"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.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"},"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.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"},"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.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"},"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.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","required":["reason"],"properties":{"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","required":["reason"],"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"},"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","required":["stepsUpdates"],"properties":{"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList"}}},"Execution.UpdatePipelineExecutionStateCommandInput.jsonld":{"type":"object","required":["stepsUpdates"],"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"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList.jsonld"}}},"Execution.jsonld-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason"],"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}}},"ExecutionAction":{"type":"object","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"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"}}},"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":{"@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}]},"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":{"@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"},"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"]},"OrganizationId":{"type":"object"},"OrganizationId.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-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":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","repositories","auths"]},"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","required":["code","label","configuration"],"properties":{"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","required":["code","label","configuration"],"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"},"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","required":["code","label","configuration"],"properties":{"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","required":["code","label","configuration"],"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"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddPipelineComposerAuthCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerAuthCommand.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.AddPipelineComposerAuthCommandInput":{"type":"object","properties":{"url":{"type":"string"},"token":{"type":"string"}}},"Pipeline.AddPipelineComposerAuthCommandInput.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"},"token":{"type":"string"}}},"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","required":["namespace","paths"],"properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","required":["namespace","paths"],"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"}}}},"Pipeline.AddPipelineComposerPackageCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerPackageCommand.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.AddPipelineComposerPackageCommandInput":{"type":"object","properties":{"package":{"type":"string"},"version":{"type":"string"}}},"Pipeline.AddPipelineComposerPackageCommandInput.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"},"package":{"type":"string"},"version":{"type":"string"}}},"Pipeline.AddPipelineComposerRepositoryCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerRepositoryCommand.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.AddPipelineComposerRepositoryCommandInput":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}},"Pipeline.AddPipelineComposerRepositoryCommandInput.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"},"type":{"type":"string"},"url":{"type":"string"}}},"Pipeline.AddPipelineStepProbCommandInput":{"type":"object","required":["probe"],"properties":{"probe":{"$ref":"#\/components\/schemas\/Probe"}}},"Pipeline.AddPipelineStepProbCommandInput.jsonld":{"type":"object","required":["probe"],"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"},"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","required":["code","label","configuration"],"properties":{"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","required":["code","label","configuration"],"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"},"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","required":["pipeline"],"properties":{"pipeline":{"type":"string","format":"iri-reference"}}},"Pipeline.CompilePipelineCommandInput.jsonld":{"type":"object","required":["pipeline"],"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":{"type":"string","format":"iri-reference"}}},"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","required":["label","code","steps"],"properties":{"label":{"type":"string"},"code":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput"}},"packages":{"type":"object","additionalProperties":{"type":"string"}},"repositories":{"type":"array","items":{"$ref":"#\/components\/schemas\/AddPipelineComposerRepositoryCommandInput"}},"auths":{"type":"array","items":{"$ref":"#\/components\/schemas\/AddPipelineComposerAuthCommandInput"}}}},"Pipeline.DeclarePipelineCommandInput.jsonld":{"type":"object","required":["label","code","steps"],"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"},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput.jsonld"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput.jsonld"}},"packages":{"type":"object","additionalProperties":{"type":"string"}},"repositories":{"type":"array","items":{"$ref":"#\/components\/schemas\/AddPipelineComposerRepositoryCommandInput.jsonld"}},"auths":{"type":"array","items":{"$ref":"#\/components\/schemas\/AddPipelineComposerAuthCommandInput.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","required":["code"],"properties":{"code":{"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld":{"type":"object","required":["code"],"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"}}},"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","required":["code"],"properties":{"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld":{"type":"object","required":["code"],"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"}}},"Pipeline.RemovePipelineComposerAuthCommand-read":{"type":"object"},"Pipeline.RemovePipelineComposerAuthCommand.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.RemovePipelineComposerAuthCommandInput":{"type":"object","properties":{"url":{"type":"string"}}},"Pipeline.RemovePipelineComposerAuthCommandInput.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"}}},"Pipeline.RemovePipelineComposerPSR4AutoloadCommand-read":{"type":"object"},"Pipeline.RemovePipelineComposerPSR4AutoloadCommand.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.RemovePipelineComposerPSR4AutoloadCommandInput":{"type":"object","properties":{"namespace":{"type":"string"}}},"Pipeline.RemovePipelineComposerPSR4AutoloadCommandInput.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"}}},"Pipeline.RemovePipelineComposerPackageCommand-read":{"type":"object"},"Pipeline.RemovePipelineComposerPackageCommand.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.RemovePipelineComposerPackageCommandInput":{"type":"object","properties":{"package":{"type":"string"}}},"Pipeline.RemovePipelineComposerPackageCommandInput.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"},"package":{"type":"string"}}},"Pipeline.RemovePipelineComposerRepositoryCommand-read":{"type":"object"},"Pipeline.RemovePipelineComposerRepositoryCommand.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.RemovePipelineComposerRepositoryCommandInput":{"type":"object","properties":{"name":{"type":"string"}}},"Pipeline.RemovePipelineComposerRepositoryCommandInput.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"}}},"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","required":["codes"],"properties":{"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReorderPipelineStepsCommandInput.jsonld":{"type":"object","required":["codes"],"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"},"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","required":["code","label","configuration"],"properties":{"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","required":["code","label","configuration"],"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"},"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":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","repositories","auths"]},"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.DeclarePipelineScheduleCommandInput":{"type":"object","required":["pipeline"],"properties":{"pipeline":{"type":"string","format":"iri-reference"},"type":{"type":"integer"},"date":{"type":"string","format":"date-time","nullable":true},"start":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","nullable":true},"recurrences":{"type":"integer","nullable":true},"end":{"type":"string","format":"date-time","nullable":true}}},"Schedule.DeclarePipelineScheduleCommandInput.jsonld":{"type":"object","required":["pipeline"],"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":{"type":"string","format":"iri-reference"},"type":{"type":"integer"},"date":{"type":"string","format":"date-time","nullable":true},"start":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","nullable":true},"recurrences":{"type":"integer","nullable":true},"end":{"type":"string","format":"date-time","nullable":true}}},"Schedule.ScheduleCommandInterface":{"type":"object"},"Schedule.ScheduleCommandInterface.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.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"}}},"Secret":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret-edit":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"Secret-read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable-read"}}},"Secret.ChangeSecretValueInput":{"type":"object","properties":{"id":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/SecretId"}]},"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.ChangeSecretValueInput.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":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/SecretId.jsonld"}]},"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Secret.CreateSecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.CreateSecretInput.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"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Secret.RemoveSecretValueInput":{"type":"object","properties":{"id":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/SecretId"}]},"contents":{"type":"array","items":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.RemoveSecretValueInput.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":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/SecretId.jsonld"}]},"contents":{"type":"array","items":{"type":"string"}},"organization":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/OrganizationId.jsonld"}]},"workspace":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkspaceId.jsonld"}]},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Secret.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"},"slug":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"Secret.jsonld-edit":{"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"}}},"Secret.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"},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"readOnly":true,"type":"object","additionalProperties":{"type":"string","nullable":true}},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld-read"}}},"SecretId":{"type":"object"},"SecretId.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"}}},"StepInput":{"type":"object","required":["code","label","configuration"],"properties":{"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"StepInput.jsonld":{"type":"object","required":["code","label","configuration"],"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"},"configuration":{"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-read":{"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"}}},"Traversable.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"}}},"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},"currentOrganization":{"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},"currentOrganization":{"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":["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":["resource","authorizations"]},"Variable-read":{"type":"object","properties":{"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}]},"name":{"type":"string"}}},"Variable.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}]},"name":{"type":"string"}}},"VariableFromConfiguration-read":{"type":"object","properties":{"configuration":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Configuration-read"}]},"item":{"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}]},"name":{"type":"string"}}},"VariableFromConfiguration-write":{"type":"object"},"VariableFromConfiguration.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"},"configuration":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Configuration.jsonld-read"}]},"item":{"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}]},"name":{"type":"string"}}},"VariableFromConfiguration.jsonld-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"}}},"VariableFromConfigurationInput":{"type":"object","properties":{"name":{"type":"string"},"from":{"type":"string"}}},"VariableFromConfigurationInput.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"},"from":{"type":"string"}}},"VariableFromConstant-read":{"type":"object","properties":{"value":{"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}]},"name":{"type":"string"}}},"VariableFromConstant-write":{"type":"object"},"VariableFromConstant.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"},"value":{"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}]},"name":{"type":"string"}}},"VariableFromConstant.jsonld-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"}}},"VariableFromConstantInput":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"VariableFromConstantInput.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"},"value":{"type":"string"}}},"VariableFromSecret-read":{"type":"object","properties":{"secret":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Secret-read"}]},"item":{"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment-read"}]},"name":{"type":"string"}}},"VariableFromSecret-write":{"type":"object"},"VariableFromSecret.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"},"secret":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Secret.jsonld-read"}]},"item":{"type":"string"},"environment":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Environment.jsonld-read"}]},"name":{"type":"string"}}},"VariableFromSecret.jsonld-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"}}},"VariableFromSecretInput":{"type":"object","properties":{"name":{"type":"string"},"from":{"type":"string"}}},"VariableFromSecretInput.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"},"from":{"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","repositories","auths"],"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":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline-read":{"type":"object","required":["id","code","label","runtimeType","repositories","auths"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld":{"type":"object","required":["job","id","code","label","runtimeType","repositories","auths"],"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}]},"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":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-read":{"type":"object","required":["id","code","label","runtimeType","repositories","auths"],"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":{"readOnly":true,"type":"array","items":{"type":"string"}},"packages":{"type":"array","items":{"type":"string"}},"repositories":{"type":"array","items":{"type":"string"}},"auths":{"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"]},"WorkspaceId":{"type":"object"},"WorkspaceId.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"}}},"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/src/Authentication/ApiKeyAuthentication.php b/src/Authentication/ApiKeyAuthentication.php index 4b87179e..fb29ca6b 100644 --- a/src/Authentication/ApiKeyAuthentication.php +++ b/src/Authentication/ApiKeyAuthentication.php @@ -21,7 +21,9 @@ public function __construct(string $apiKey) public function authentication(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\RequestInterface { - return $request->withHeader('Authorization', $this->{'apiKey'}); + $request = $request->withHeader('Authorization', $this->{'apiKey'}); + + return $request; } public function getScope(): string diff --git a/src/Client.php b/src/Client.php index 40dff29f..4c0b1edc 100644 --- a/src/Client.php +++ b/src/Client.php @@ -93,7 +93,6 @@ public function getOfferItem(string $id, string $fetch = self::FETCH_OBJECT) * 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 @@ -194,7 +193,6 @@ public function getOrganizationItem(string $id, string $fetch = self::FETCH_OBJE * Updates the Organization resource. * * @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 @@ -365,7 +363,6 @@ public function getSubscriptionItem(string $id, string $fetch = self::FETCH_OBJE * 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) * * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null @@ -475,9 +472,7 @@ public function apiSubscriptionsOrganizationGetSubresourceSubscriptionSubresourc } /** - * @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) @@ -529,7 +524,6 @@ public function getUserAuthorizationItem(string $id, string $fetch = self::FETCH * Updates the UserAuthorization resource. * * @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 @@ -628,7 +622,6 @@ public function getUserItem(string $id, string $fetch = self::FETCH_OBJECT) * Updates the User resource. * * @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 @@ -682,7 +675,6 @@ public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, * Updates the User resource. * * @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 @@ -763,7 +755,6 @@ public function getWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) * Updates the Workspace resource. * * @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 @@ -865,54 +856,107 @@ public function postWorkspaceCollection($requestBody = null, string $fetch = sel } /** - * Creates a ConfigMap resource. + * Creates a Configuration resource. * - * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld|\Gyroscops\Api\Model\ConfigurationCreateConfigurationInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ConfigMap|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionUnprocessableEntityException */ - public function postConfigMapCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function postConfigurationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostConfigMapCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostConfigurationCollection($requestBody), $fetch); } /** - * Retrieves a ConfigMap resource. + * Removes the Configuration 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 + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException + * @throws \Gyroscops\Api\Exception\DeleteConfigurationItemNotFoundException */ - public function getConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) + public function deleteConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigMapItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteConfigurationItem($id), $fetch); } /** - * Adds a new Config Map value to the Config Map storage. + * Retrieves a Configuration resource. * - * @param string $id Config Map resource code + * @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 + * @return \Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetConfigurationItemNotFoundException + */ + public function getConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigurationItem($id), $fetch); + } + + /** + * Replaces the Configuration resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ConfigurationJsonldEdit|\Gyroscops\Api\Model\ConfigurationEdit|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\EditConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditConfigurationItemNotFoundException + */ + public function editConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditConfigurationItem($id, $requestBody), $fetch); + } + + /** + * Change the configuration values inside an existing configurations storage. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonld|\Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemNotFoundException + */ + public function changeValuesConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangeValuesConfigurationItem($id, $requestBody), $fetch); + } + + /** + * Remove some configuration values inside an existing configurations storage. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonld|\Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Configuration|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemNotFoundException */ - public function addValueConfigMapCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) + public function removeValuesConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueConfigMapCollection($id, $requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveValuesConfigurationItem($id, $requestBody), $fetch); } /** - * Retrieves the collection of ConfigMap resources. + * Retrieves the collection of Configuration resources. * * @param array $queryParameters { * @@ -921,20 +965,20 @@ public function addValueConfigMapCollection(string $id, ?\stdClass $requestBody * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ConfigMap[]|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\Configuration[]|\Psr\Http\Message\ResponseInterface|null */ - public function getConfigMapCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getConfigurationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigMapCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigurationCollection($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) + * @param \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld|\Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface|null * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException @@ -944,13 +988,28 @@ public function postEnvironmentCollection($requestBody = null, string $fetch = s return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostEnvironmentCollection($requestBody), $fetch); } + /** + * Removes the Environment 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\DeleteEnvironmentItemNotFoundException + */ + public function deleteEnvironmentItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteEnvironmentItem($id), $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 + * @return \Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface|null * * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException */ @@ -959,6 +1018,80 @@ public function getEnvironmentItem(string $id, string $fetch = self::FETCH_OBJEC return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentItem($id), $fetch); } + /** + * Replaces the Environment resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentJsonldWrite|\Gyroscops\Api\Model\EnvironmentWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\EditEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditEnvironmentItemNotFoundException + */ + public function editEnvironmentItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditEnvironmentItem($id, $requestBody), $fetch); + } + + /** + * Add variables from an existing configuration storage. + * + * @param string $configuration Configuration identifier + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonld|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemNotFoundException + */ + public function addVariablesFromConfigurationEnvironmentItem(string $configuration, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddVariablesFromConfigurationEnvironmentItem($configuration, $id, $requestBody), $fetch); + } + + /** + * Add variables with a constant value. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonld|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemNotFoundException + */ + public function addVariablesFromConstantEnvironmentItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddVariablesFromConstantEnvironmentItem($id, $requestBody), $fetch); + } + + /** + * Add variables from an existing secret storage. + * + * @param string $secret Secret identifier + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonld|\Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\EnvironmentRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemNotFoundException + */ + public function addVariablesFromSecretEnvironmentItem(string $secret, string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddVariablesFromSecretEnvironmentItem($secret, $id, $requestBody), $fetch); + } + /** * Retrieves the collection of Environment resources. * @@ -969,18 +1102,36 @@ public function getEnvironmentItem(string $id, string $fetch = self::FETCH_OBJEC * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\Environment[]|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\EnvironmentRead[]|\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); } + /** + * Retrieves a Environment resource. + * + * @param string $id Environment 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\VariableRead[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiEnvironmentsVariablesGetSubresourceEnvironmentSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource($id, $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) + * @param \Gyroscops\Api\Model\SecretCreateSecretInputJsonld|\Gyroscops\Api\Model\SecretCreateSecretInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null * @@ -993,86 +1144,91 @@ public function postSecretCollection($requestBody = null, string $fetch = self:: } /** - * Retrieves a Secret resource. + * Removes the 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 + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException + * @throws \Gyroscops\Api\Exception\DeleteSecretItemNotFoundException */ - public function getSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + public function deleteSecretItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteSecretItem($id), $fetch); } /** - * Adds a new Secret value to the Secret storage. + * Retrieves a Secret resource. * - * @param string $id Secret resource code + * @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 + * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException */ - public function addValueSecretCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) + public function getSecretItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueSecretCollection($id, $requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretItem($id), $fetch); } /** - * Retrieves the collection of Secret resources. - * - * @param array $queryParameters { + * Replaces the Secret resource. * - * @var int $page The collection page number - * } + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SecretJsonldEdit|\Gyroscops\Api\Model\SecretEdit|null $requestBody + * @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 \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null * - * @return \Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface|null + * @throws \Gyroscops\Api\Exception\EditSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditSecretItemNotFoundException */ - public function getSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function editSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditSecretItem($id, $requestBody), $fetch); } /** - * Creates a VariableFromConfigMap resource. + * Change the secret values values inside an existing secrets storage. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonld|\Gyroscops\Api\Model\SecretChangeSecretValueInput|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 \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemNotFoundException */ - public function postVariableFromConfigMapCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function changeValuesSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromConfigMapCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangeValuesSecretItem($id, $requestBody), $fetch); } /** - * Retrieves a VariableFromConfigMap resource. + * Remove some secret values inside an existing secrets storage. * - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonld|\Gyroscops\Api\Model\SecretRemoveSecretValueInput|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 \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException + * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemNotFoundException */ - public function getVariableFromConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) + public function removeValuesSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveValuesSecretItem($id, $requestBody), $fetch); } /** - * Retrieves the collection of VariableFromConfigMap resources. + * Retrieves the collection of Secret resources. * * @param array $queryParameters { * @@ -1081,59 +1237,59 @@ public function getVariableFromConfigMapItem(string $id, string $fetch = self::F * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\VariableFromConfigMap[]|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface|null */ - public function getVariableFromConfigMapCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretCollection($queryParameters), $fetch); } /** - * Creates a VariableFromSecret resource. + * Removes the VariableFromConfiguration resource. * - * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret|null $requestBody - * @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\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\DeleteVariableFromConfigurationItemNotFoundException */ - public function postVariableFromSecretCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function deleteVariableFromConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromSecretCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteVariableFromConfigurationItem($id), $fetch); } /** - * Retrieves a VariableFromSecret resource. + * Retrieves a VariableFromConfiguration resource. * * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\VariableFromConfigurationRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException + * @throws \Gyroscops\Api\Exception\GetVariableFromConfigurationItemNotFoundException */ - public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + public function getVariableFromConfigurationItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigurationItem($id), $fetch); } /** - * Retrieves the collection of VariableFromSecret resources. - * - * @param array $queryParameters { + * Replaces the VariableFromConfiguration resource. * - * @var int $page The collection page number - * } + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\VariableFromConfigurationJsonldWrite|\stdClass|null $requestBody + * @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 \Gyroscops\Api\Model\VariableFromConfigurationRead|\Psr\Http\Message\ResponseInterface|null * - * @return \Gyroscops\Api\Model\VariableFromSecret[]|\Psr\Http\Message\ResponseInterface|null + * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemNotFoundException */ - public function getVariableFromSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function editVariableFromConfigurationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditVariableFromConfigurationItem($id, $requestBody), $fetch); } /** @@ -1615,6 +1771,109 @@ public function getActionCollection(array $queryParameters = [], string $fetch = return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionCollection($queryParameters), $fetch); } + /** + * Creates a pipeline compilation. + * + * @param \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\CompilationCompilePipelineCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\CompilationCompilePipelineCommand|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\PostCompilationCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostCompilationCollectionUnprocessableEntityException + */ + public function postCompilationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostCompilationCollection($requestBody), $fetch); + } + + /** + * Retrieves a Compilation resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Compilation|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetCompilationItemNotFoundException + */ + public function getCompilationItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetCompilationItem($id), $fetch); + } + + /** + * Retrieves a Compilation resource. + * + * @param string $id Compilation 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 apiCompilationsOrganizationGetSubresourceCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiCompilationsOrganizationGetSubresourceCompilationSubresource($id), $fetch); + } + + /** + * Retrieves a Compilation resource. + * + * @param string $id Compilation identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + */ + public function apiCompilationsUserGetSubresourceCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiCompilationsUserGetSubresourceCompilationSubresource($id), $fetch); + } + + /** + * Retrieves a Compilation resource. + * + * @param string $id Compilation identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + */ + public function apiCompilationsWorkspaceGetSubresourceCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiCompilationsWorkspaceGetSubresourceCompilationSubresource($id), $fetch); + } + + /** + * Retrieves the collection of Compilation 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\Compilation[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getCompilationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetCompilationCollection($queryParameters), $fetch); + } + + /** + * 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 + * + * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException + */ + public function declareExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareExecutionExecutionCollection($requestBody), $fetch); + } + /** * Retrieves a ExecutionPipelineJob resource. * @@ -1943,6 +2202,42 @@ public function apiExecutionsActionGetSubresourceExecutionSubresource(string $id return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsActionGetSubresourceExecutionSubresource($id), $fetch); } + /** + * Finishes a pipeline execution. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionItemNotFoundException + */ + public function finishExecutionExecutionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\FinishExecutionExecutionItem($id, $requestBody), $fetch); + } + + /** + * Interrupts a pipeline execution. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionItemNotFoundException + */ + public function interruptExecutionExecutionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\InterruptExecutionExecutionItem($id, $requestBody), $fetch); + } + /** * Retrieves a Execution resource. * @@ -1983,216 +2278,153 @@ public function apiExecutionsPipelineGetSubresourceExecutionSubresource(string $ } /** - * Retrieves a Execution resource. + * Resumes a pipeline execution. * - * @param string $id Execution identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionItemNotFoundException */ - public function apiExecutionsWorkflowGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) + public function resumeExecutionExecutionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowGetSubresourceExecutionSubresource($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ResumeExecutionExecutionItem($id, $requestBody), $fetch); } /** - * Retrieves a Execution resource. - * - * @param string $id Execution identifier - * @param string $workflow ExecutionWorkflow identifier - * @param array $queryParameters { + * Starts a pipeline execution. * - * @var int $page The collection page number - * } + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\stdClass|null $requestBody + * @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 \Psr\Http\Message\ResponseInterface|null * - * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null + * @throws \Gyroscops\Api\Exception\StartExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\StartExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\StartExecutionExecutionItemNotFoundException */ - public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(string $id, string $workflow, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function startExecutionExecutionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource($id, $workflow, $queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\StartExecutionExecutionItem($id, $requestBody), $fetch); } /** - * Retrieves a Execution resource. - * - * @param string $id Execution identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @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 \Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface|null - */ - public function getExecutionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionCollection($queryParameters), $fetch); - } - - /** - * Declares a pipeline execution. + * Terminates 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) + * @param string $id Resource identifier + * @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 * - * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionItemNotFoundException */ - public function declareExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function terminateExecutionExecutionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareExecutionExecutionCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\TerminateExecutionExecutionItem($id, $requestBody), $fetch); } /** - * Finishes a pipeline execution. + * Updates a pipeline execution state. * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @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 * - * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemNotFoundException */ - public function finishExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function updateExecutionStateExecutionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\FinishExecutionExecutionCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\UpdateExecutionStateExecutionItem($id, $requestBody), $fetch); } /** - * 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) + * Retrieves a Execution resource. * - * @return \Psr\Http\Message\ResponseInterface|null + * @param string $id Execution identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException + * @return \Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface|null */ - public function interruptExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function apiExecutionsWorkflowGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\InterruptExecutionExecutionCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowGetSubresourceExecutionSubresource($id), $fetch); } /** - * 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 + * Retrieves a Execution resource. * - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException - */ - public function resumeExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ResumeExecutionExecutionCollection($requestBody), $fetch); - } - - /** - * Starts a pipeline execution. + * @param string $id Execution identifier + * @param string $workflow ExecutionWorkflow identifier + * @param array $queryParameters { * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @var int $page The collection page number + * } * - * @return \Psr\Http\Message\ResponseInterface|null + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function startExecutionExecutionCollection($requestBody = null, 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\StartExecutionExecutionCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource($id, $workflow, $queryParameters), $fetch); } /** - * 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) + * Retrieves a Execution resource. * - * @return \Psr\Http\Message\ResponseInterface|null + * @param string $id Execution identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ - public function terminateExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function apiExecutionsWorkspaceGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\TerminateExecutionExecutionCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkspaceGetSubresourceExecutionSubresource($id), $fetch); } /** - * 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) + * Retrieves the collection of Execution resources. * - * @return \Psr\Http\Message\ResponseInterface|null + * @param array $queryParameters { * - * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException - */ - public function updateExecutionStateExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\UpdateExecutionStateExecutionCollection($requestBody), $fetch); - } - - /** - * Retrieves a PipelineCompilation resource. + * @var int $page The collection page number + * } * - * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) + public function getExecutionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionCollection($queryParameters), $fetch); } /** - * Retrieves a PipelineCompilation resource. - * - * @param string $id PipelineCompilation identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * Declares a docker pipeline. * - * @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 \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param string $id PipelineCompilation identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @return \Psr\Http\Message\ResponseInterface|null * - * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException */ - public function apiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) + public function declarePipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclarePipelinePipelineCollection($requestBody), $fetch); } /** @@ -2308,81 +2540,75 @@ public function getPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) } /** - * Retrieves a Pipeline resource. - * - * @param string $id Pipeline identifier - * @param array $queryParameters { + * Adds a composer auth to a pipeline. * - * @var int $page The collection page number - * } + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput|null $requestBody + * @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 \Psr\Http\Message\ResponseInterface|null * - * @return \Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface|null + * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemNotFoundException */ - public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function addComposerAuthPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesCompilationsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerAuthPipelinePipelineItem($id, $requestBody), $fetch); } /** - * Retrieves a Pipeline resource. - * - * @param string $id Pipeline identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * Adds PSR4 autoload composer to a pipeline. * - * @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 Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param string $id Pipeline identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @return \Psr\Http\Message\ResponseInterface|null * - * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null + * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemNotFoundException */ - public function apiPipelinesOwnerGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) + public function addComposerAutoloadPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOwnerGetSubresourcePipelineSubresource($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerAutoloadPipelinePipelineItem($id, $requestBody), $fetch); } /** - * Removes a step from a pipeline. + * Adds a composer package to a pipeline. * - * @param string $code Step resource code - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException + * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemNotFoundException */ - public function deletePipelineStepPipelineItem(string $code, string $id, string $fetch = self::FETCH_OBJECT) + public function addComposerPackagePipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelineStepPipelineItem($code, $id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerPackagePipelinePipelineItem($id, $requestBody), $fetch); } /** - * Removes a probe from a step. + * Adds a composer repository to a pipeline. * - * @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) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException + * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemNotFoundException */ - public function removePipelineStepProbePipelineItem(string $code, string $probeCode, string $probeLabel, string $id, string $fetch = self::FETCH_OBJECT) + public function addComposerRepositoryPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemovePipelineStepProbePipelineItem($code, $probeCode, $probeLabel, $id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerRepositoryPipelinePipelineItem($id, $requestBody), $fetch); } /** @@ -2396,11 +2622,29 @@ public function removePipelineStepProbePipelineItem(string $code, string $probeC * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\Compilation[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelinesStepsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesStepsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesCompilationsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch); + } + + /** + * Creates a pipeline compilation. + * + * @param string $id Resource identifier + * @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 + * + * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemNotFoundException + */ + public function pipelineCompilationPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineCompilationPipelineItem($id, $requestBody), $fetch); } /** @@ -2409,287 +2653,344 @@ public function apiPipelinesStepsGetSubresourcePipelineSubresource(string $id, a * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelinesWorkspaceGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) + public function apiPipelinesOrganizationGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesWorkspaceGetSubresourcePipelineSubresource($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOrganizationGetSubresourcePipelineSubresource($id), $fetch); } /** - * Retrieves the collection of Pipeline resources. - * - * @param array $queryParameters { - * - * @var int $page The collection page number - * @var string $code - * @var array $code[] - * } + * Retrieves a Pipeline resource. * + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface|null + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function apiPipelinesOwnerGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOwnerGetSubresourcePipelineSubresource($id), $fetch); } /** - * Declares a docker pipeline. + * Removes a composer auth from a pipeline. * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemNotFoundException */ - public function declarePipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function removeComposerAuthPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclarePipelinePipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerAuthPipelinePipelineItem($id, $requestBody), $fetch); } /** - * Adds PSR4 autoload composer to a pipeline. + * Removes PSR4 autoload composer from 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) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemNotFoundException */ - public function addComposerPipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function removeComposerAutoloadPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerPipelinePipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerAutoloadPipelinePipelineItem($id, $requestBody), $fetch); } /** - * Retrieves the collection of PipelineCompilation resources. + * Removes a composer package from a pipeline. * - * @param array $queryParameters { + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @var int $page The collection page number - * } + * @return \Psr\Http\Message\ResponseInterface|null * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemNotFoundException + */ + public function removeComposerPackagePipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerPackagePipelinePipelineItem($id, $requestBody), $fetch); + } + + /** + * Adds a repository from a pipeline. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonld|\Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemNotFoundException */ - public function getPipelineCompilationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function removeComposerRepositoryPipelinePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCompilationCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemoveComposerRepositoryPipelinePipelineItem($id, $requestBody), $fetch); } /** - * Creates a pipeline compilation. + * Appends a step to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @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 * - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemNotFoundException */ - public function pipelineCompilationPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function appendPipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineCompilationPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AppendPipelineStepPipelineItem($id, $requestBody), $fetch); } /** - * Adds a step after another one in a pipeline. + * Removes a step from 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) + * @param string $code Step resource code + * @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\AddAfterPipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException */ - public function addAfterPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function deletePipelineStepPipelineItem(string $code, string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddAfterPipelineStepPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelineStepPipelineItem($code, $id), $fetch); } /** - * Adds a step before another one in a pipeline. + * Adds a step after 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) + * @param string $id Resource identifier + * @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 * - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemNotFoundException */ - public function addBeforePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function addAfterPipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddBeforePipelineStepPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddAfterPipelineStepPipelineItem($id, $requestBody), $fetch); } /** - * Appends a step to a pipeline. + * Adds a step before another one in 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) + * @param string $id Resource identifier + * @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 * - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemNotFoundException */ - public function appendPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function addBeforePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AppendPipelineStepPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddBeforePipelineStepPipelineItem($id, $requestBody), $fetch); } /** * Moves a step after another one in a pipeline. * + * @param string $id Resource identifier * @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 * - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemNotFoundException */ - public function moveAfterPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function moveAfterPipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveAfterPipelineStepPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveAfterPipelineStepPipelineItem($id, $requestBody), $fetch); } /** * Moves a step before another one in a pipeline. * + * @param string $id Resource identifier * @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 * - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemNotFoundException */ - public function moveBeforePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function moveBeforePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveBeforePipelineStepPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveBeforePipelineStepPipelineItem($id, $requestBody), $fetch); } /** * Adds a probe to a step. * + * @param string $id Resource identifier * @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 * - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemNotFoundException */ - public function addPipelineStepProbePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function addPipelineStepProbePipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddPipelineStepProbePipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddPipelineStepProbePipelineItem($id, $requestBody), $fetch); } /** - * Reorganizes the steps of a pipeline according to a given order. + * Removes a probe from a step. * - * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $code Step resource code + * @param string $probeCode Probe resource code + * @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\ReorderPipelineStepsPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException */ - public function reorderPipelineStepsPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function removePipelineStepProbePipelineItem(string $code, string $probeCode, string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReorderPipelineStepsPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemovePipelineStepProbePipelineItem($code, $probeCode, $id), $fetch); } /** * Replaces a step by another one in a pipeline. * + * @param string $id Resource identifier * @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 * - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemNotFoundException */ - public function replacePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function replacePipelineStepPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReplacePipelineStepPipelineCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReplacePipelineStepPipelineItem($id, $requestBody), $fetch); } /** - * Schedule a pipeline execution immediately. + * Retrieves a Pipeline resource. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Pipeline identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|\Psr\Http\Message\ResponseInterface|null + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException + * @return \Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function scheduleImmediateScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function apiPipelinesStepsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleImmediateScheduleCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesStepsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch); } /** - * Schedule an immediate pipeline execution. + * Reorganizes the steps of a pipeline according to a given order. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemNotFoundException */ - public function scheduleOnceScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function reorderPipelineStepsPipelineItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleOnceScheduleCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReorderPipelineStepsPipelineItem($id, $requestBody), $fetch); } /** - * Schedule a recurring pipeline execution. + * Retrieves a Pipeline resource. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Pipeline identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|\Psr\Http\Message\ResponseInterface|null + * @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 { * - * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException + * @var int $page The collection page number + * @var string $code + * @var array $code[] + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function scheduleTimesScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function getPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleTimesScheduleCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCollection($queryParameters), $fetch); } /** - * Schedule a delayed pipeline execution. + In order to differentiate the different types of schedules, we have set up a field named "type" : + * 1 => Immediate + * 2 => Once + * 3 => Times + * 4 => Until. + * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PostScheduleCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostScheduleCollectionUnprocessableEntityException */ - public function scheduleUntilScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) + public function postScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleUntilScheduleCollection($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostScheduleCollection($requestBody), $fetch); } /** @@ -2913,6 +3214,41 @@ public function getWorkflowJobPipelineItem(string $id, string $fetch = self::FET return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobPipelineItem($id), $fetch); } + /** + * Retrieves the collection of WorkflowJobPipeline 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\WorkflowJobPipeline[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getWorkflowJobPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobPipelineCollection($queryParameters), $fetch); + } + + /** + * Retrieves a WorkflowJobPipeline resource. + * + * @param string $id WorkflowJobPipeline 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\PipelineStep[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource($id, $queryParameters), $fetch); + } + /** * Retrieves a Workflow resource. * @@ -3003,18 +3339,99 @@ public function getWorkflowCollection(array $queryParameters = [], string $fetch } /** - * Retrieves a PipelineCompilation resource. + * Removes the VariableFromConstant resource. * * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Gyroscops\Api\Model\PipelineCompilation|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\DeleteVariableFromConstantItemNotFoundException + */ + public function deleteVariableFromConstantItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteVariableFromConstantItem($id), $fetch); + } + + /** + * Retrieves a VariableFromConstant resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromConstantRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetVariableFromConstantItemNotFoundException + */ + public function getVariableFromConstantItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConstantItem($id), $fetch); + } + + /** + * Replaces the VariableFromConstant resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\VariableFromConstantJsonldWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromConstantRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemNotFoundException + */ + public function editVariableFromConstantItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditVariableFromConstantItem($id, $requestBody), $fetch); + } + + /** + * Removes the VariableFromSecret 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\DeleteVariableFromSecretItemNotFoundException + */ + public function deleteVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteVariableFromSecretItem($id), $fetch); + } + + /** + * Retrieves a VariableFromSecret resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromSecretRead|\Psr\Http\Message\ResponseInterface|null + * + * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException + */ + public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretItem($id), $fetch); + } + + /** + * Replaces the VariableFromSecret resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\VariableFromSecretJsonldWrite|\stdClass|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromSecretRead|\Psr\Http\Message\ResponseInterface|null * - * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException + * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemNotFoundException */ - public function getPipelineCompilationItem(string $id, string $fetch = self::FETCH_OBJECT) + public function editVariableFromSecretItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCompilationItem($id), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\EditVariableFromSecretItem($id, $requestBody), $fetch); } public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) @@ -3022,7 +3439,7 @@ public static function create($httpClient = null, array $additionalPlugins = [], if (null === $httpClient) { $httpClient = \Http\Discovery\Psr18ClientDiscovery::find(); $plugins = []; - if (\count($additionalPlugins) > 0) { + if (count($additionalPlugins) > 0) { $plugins = array_merge($plugins, $additionalPlugins); } $httpClient = new \Http\Client\Common\PluginClient($httpClient, $plugins); @@ -3030,7 +3447,7 @@ public static function create($httpClient = null, array $additionalPlugins = [], $requestFactory = \Http\Discovery\Psr17FactoryDiscovery::findRequestFactory(); $streamFactory = \Http\Discovery\Psr17FactoryDiscovery::findStreamFactory(); $normalizers = [new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new \Gyroscops\Api\Normalizer\JaneObjectNormalizer()]; - if (\count($additionalNormalizers) > 0) { + if (count($additionalNormalizers) > 0) { $normalizers = array_merge($normalizers, $additionalNormalizers); } $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]))]); diff --git a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php index 5892aacc..ec2bad03 100644 --- a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php +++ b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php @@ -58,8 +58,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemBadRequestException(); diff --git a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php b/src/Endpoint/AddAfterPipelineStepPipelineItem.php similarity index 64% rename from src/Endpoint/AddAfterPipelineStepPipelineCollection.php rename to src/Endpoint/AddAfterPipelineStepPipelineItem.php index d444794f..2075c0a7 100644 --- a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/AddAfterPipelineStepPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class AddAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class AddAfterPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Adds a step after another one in a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/add-after'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step/{code}/add-after'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php b/src/Endpoint/AddBeforePipelineStepPipelineItem.php similarity index 64% rename from src/Endpoint/AddBeforePipelineStepPipelineCollection.php rename to src/Endpoint/AddBeforePipelineStepPipelineItem.php index 23acab88..a0ee1cfa 100644 --- a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/AddBeforePipelineStepPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class AddBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class AddBeforePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Adds a step before another one in a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/add-before'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step/{code}/add-before'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/AddComposerAuthPipelinePipelineItem.php b/src/Endpoint/AddComposerAuthPipelinePipelineItem.php new file mode 100644 index 00000000..d847c1df --- /dev/null +++ b/src/Endpoint/AddComposerAuthPipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/add-composer-auth'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerAuthPipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddComposerPipelinePipelineCollection.php b/src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php similarity index 56% rename from src/Endpoint/AddComposerPipelinePipelineCollection.php rename to src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php index 56188894..c0cc5cd1 100644 --- a/src/Endpoint/AddComposerPipelinePipelineCollection.php +++ b/src/Endpoint/AddComposerAutoloadPipelinePipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class AddComposerPipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class AddComposerAutoloadPipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Adds PSR4 autoload composer to a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/add-composer'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/add-composer-autoload'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerAutoloadPipelinePipelineItemNotFoundException(); } } diff --git a/src/Endpoint/AddComposerPackagePipelinePipelineItem.php b/src/Endpoint/AddComposerPackagePipelinePipelineItem.php new file mode 100644 index 00000000..ee1743ce --- /dev/null +++ b/src/Endpoint/AddComposerPackagePipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/add-composer-package'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerPackagePipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php b/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php new file mode 100644 index 00000000..e3f65374 --- /dev/null +++ b/src/Endpoint/AddComposerRepositoryPipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/add-composer-repository'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddComposerRepositoryPipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddPipelineStepProbePipelineCollection.php b/src/Endpoint/AddPipelineStepProbePipelineItem.php similarity index 64% rename from src/Endpoint/AddPipelineStepProbePipelineCollection.php rename to src/Endpoint/AddPipelineStepProbePipelineItem.php index b0366d0d..41fe2fe0 100644 --- a/src/Endpoint/AddPipelineStepProbePipelineCollection.php +++ b/src/Endpoint/AddPipelineStepProbePipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class AddPipelineStepProbePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class AddPipelineStepProbePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Adds a probe to a step. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/probes'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step/{code}/probe'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineItemNotFoundException(); } } diff --git a/src/Endpoint/AddValueConfigMapCollection.php b/src/Endpoint/AddValueConfigMapCollection.php deleted file mode 100644 index 37bfb4a6..00000000 --- a/src/Endpoint/AddValueConfigMapCollection.php +++ /dev/null @@ -1,78 +0,0 @@ -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 ((null === $contentType) === false && (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 deleted file mode 100644 index 92de4113..00000000 --- a/src/Endpoint/AddValueSecretCollection.php +++ /dev/null @@ -1,78 +0,0 @@ -id = $id; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/environment/secret/{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\Secret[]|null - * - * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException - */ - protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); - } - if (400 === $status) { - throw new \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException(); - } - if (422 === $status) { - throw new \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException(); - } - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php b/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php new file mode 100644 index 00000000..86874a2a --- /dev/null +++ b/src/Endpoint/AddVariablesFromConfigurationEnvironmentItem.php @@ -0,0 +1,92 @@ +configuration = $configuration; + $this->id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{configuration}', '{id}'], [$this->configuration, $this->id], '/environment/environment/{id}/add-variables-from-configuration/{configuration}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\EnvironmentRead|null + * + * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\EnvironmentRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromConfigurationEnvironmentItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php b/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php new file mode 100644 index 00000000..a69afc27 --- /dev/null +++ b/src/Endpoint/AddVariablesFromConstantEnvironmentItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/environment/{id}/add-variables-from-constant'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\EnvironmentRead|null + * + * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\EnvironmentRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromConstantEnvironmentItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php b/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php new file mode 100644 index 00000000..1da9cbaa --- /dev/null +++ b/src/Endpoint/AddVariablesFromSecretEnvironmentItem.php @@ -0,0 +1,92 @@ +secret = $secret; + $this->id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{secret}', '{id}'], [$this->secret, $this->id], '/environment/environment/{id}/add-variables-from-secret/{secret}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\EnvironmentRead|null + * + * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\EnvironmentRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AddVariablesFromSecretEnvironmentItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php index 094548a6..463f8ff3 100644 --- a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php index 13a8fc6d..eab55907 100644 --- a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php index df72dd0d..910ad1a3 100644 --- a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php similarity index 64% rename from src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php rename to src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php index b153cb72..fe3c09a3 100644 --- a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php @@ -10,15 +10,15 @@ namespace Gyroscops\Api\Endpoint; -class ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiCompilationsOrganizationGetSubresourceCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; /** - * Retrieves a PipelineCompilation resource. + * Retrieves a Compilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id Compilation identifier */ public function __construct(string $id) { @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/compilation/{id}/organization'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php similarity index 64% rename from src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php rename to src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php index c7ca8542..3efd9da3 100644 --- a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php @@ -10,15 +10,15 @@ namespace Gyroscops\Api\Endpoint; -class ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiCompilationsUserGetSubresourceCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; /** - * Retrieves a PipelineCompilation resource. + * Retrieves a Compilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id Compilation identifier */ public function __construct(string $id) { @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/user'); + return str_replace(['{id}'], [$this->id], '/runtime/compilation/{id}/user'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php similarity index 64% rename from src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php rename to src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php index 5a915bfb..cca339e0 100644 --- a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php @@ -10,15 +10,15 @@ namespace Gyroscops\Api\Endpoint; -class ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiCompilationsWorkspaceGetSubresourceCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; /** - * Retrieves a PipelineCompilation resource. + * Retrieves a Compilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id Compilation identifier */ public function __construct(string $id) { @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/compilation/{id}/workspace'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/GetVariableFromConfigMapCollection.php b/src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php similarity index 67% rename from src/Endpoint/GetVariableFromConfigMapCollection.php rename to src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php index 5d7b386b..366fb515 100644 --- a/src/Endpoint/GetVariableFromConfigMapCollection.php +++ b/src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php @@ -10,20 +10,23 @@ namespace Gyroscops\Api\Endpoint; -class GetVariableFromConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** - * Retrieves the collection of VariableFromConfigMap resources. + * Retrieves a Environment resource. * - * @param array $queryParameters { + * @param string $id Environment identifier + * @param array $queryParameters { * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = []) + public function __construct(string $id, array $queryParameters = []) { + $this->id = $id; $this->queryParameters = $queryParameters; } @@ -34,7 +37,7 @@ public function getMethod(): string public function getUri(): string { - return '/environment/variable-from-config-maps'; + return str_replace(['{id}'], [$this->id], '/environment/environments/{id}/variables'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -61,12 +64,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\VariableFromConfigMap[]|null + * @return \Gyroscops\Api\Model\VariableRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap[]', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableRead[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php index 699727f4..af941238 100644 --- a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php +++ b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php index f984fb78..40e31477 100644 --- a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php +++ b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php index 1d3054e5..7e7b50e7 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionWorkflowJobAction::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php index 6e96d064..dfcd6596 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionPipelineJob::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php index 71e84f9a..d3129e47 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php @@ -71,7 +71,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php index 1507644f..74967c6d 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php @@ -55,8 +55,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionWorkflowJobAction::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php index 76a6054c..f223e92f 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php index d471bc54..2fde3b0e 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php @@ -55,8 +55,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionPipelineJob::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php index 5318ac52..14c14362 100644 --- a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionAction::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php index ef1b8982..0a2f3864 100644 --- a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php index 07359372..b0aff3f2 100644 --- a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php index a253d910..447231e6 100644 --- a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionPipeline::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php index 9081c5d8..ca36ccfa 100644 --- a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionWorkflow::class, 'json'); } } diff --git a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php index 7774ee48..3d69fd52 100644 --- a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php @@ -71,7 +71,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php index 09a697e3..c25ec95d 100644 --- a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php index 30293d0a..180efb09 100644 --- a/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php +++ b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Option[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php index 1a5e40f5..a9955365 100644 --- a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php index e16d97ca..2b4c8fbf 100644 --- a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php index 42a2aeeb..64f56878 100644 --- a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php index 97c4524e..1666f97c 100644 --- a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php index 1f18c62a..d5e133b1 100644 --- a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php +++ b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php index 5d95399f..f1c242de 100644 --- a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php @@ -64,12 +64,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\PipelineCompilation[]|null + * @return \Gyroscops\Api\Model\Compilation[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Compilation[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php index fc0c94eb..a79631ef 100644 --- a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php index e002eefc..e82f511d 100644 --- a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php index 5241e9b9..623174b3 100644 --- a/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesStepsGetSubresourcePipelineSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php index ab708d3d..0e06ff4d 100644 --- a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php index adcb90dd..ffcd844f 100644 --- a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php index 8679ab28..2d9815e7 100644 --- a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php index 45307933..7c865c26 100644 --- a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php index cd353f5e..00d6aa59 100644 --- a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\PipelineRead::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php index ea56f641..1f9a63a2 100644 --- a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\WorkflowRead::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php index ac1ebe54..11752048 100644 --- a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php @@ -71,7 +71,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php index feef1b75..a55711b8 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php @@ -55,8 +55,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php index 4590a299..d9f12e37 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php @@ -55,8 +55,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php index 48d5c644..f6f25624 100644 --- a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php @@ -55,8 +55,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php index 14a0d93b..40a806b2 100644 --- a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php index aa2f1c3f..a66751f5 100644 --- a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Offer::class, 'json'); } } diff --git a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php index 02198ba2..8dad3eb8 100644 --- a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOption[]', 'json'); } } diff --git a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php index eec98cbb..ef7340a7 100644 --- a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php index 9949a4d5..c5a299d0 100644 --- a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php +++ b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php b/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php new file mode 100644 index 00000000..6182bcf0 --- /dev/null +++ b/src/Endpoint/ApiWorkflowJobPipelinesStepsGetSubresourceWorkflowJobPipelineSubresource.php @@ -0,0 +1,80 @@ +id = $id; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/workflow/workflow-job-pipelines/{id}/steps'); + } + + 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\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)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php index 5dfae6f4..114a00ee 100644 --- a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php index d75e39f4..f7d69c28 100644 --- a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php index c5fc6b3b..a154c203 100644 --- a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php index 5ec2a86f..d1991919 100644 --- a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php @@ -52,8 +52,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } } diff --git a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php index 05c1d0b3..6e6a2169 100644 --- a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php index 5a255a40..5e449ceb 100644 --- a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php @@ -68,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/AppendPipelineStepPipelineCollection.php b/src/Endpoint/AppendPipelineStepPipelineItem.php similarity index 65% rename from src/Endpoint/AppendPipelineStepPipelineCollection.php rename to src/Endpoint/AppendPipelineStepPipelineItem.php index ec0c301a..ada73a3e 100644 --- a/src/Endpoint/AppendPipelineStepPipelineCollection.php +++ b/src/Endpoint/AppendPipelineStepPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class AppendPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class AppendPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Appends a step to a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/append'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/ChangePasswordUserItem.php b/src/Endpoint/ChangePasswordUserItem.php index 32a73a0c..669e98e7 100644 --- a/src/Endpoint/ChangePasswordUserItem.php +++ b/src/Endpoint/ChangePasswordUserItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException(); diff --git a/src/Endpoint/ChangeValuesConfigurationItem.php b/src/Endpoint/ChangeValuesConfigurationItem.php new file mode 100644 index 00000000..416c449b --- /dev/null +++ b/src/Endpoint/ChangeValuesConfigurationItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/configuration/{id}/change'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Configuration|null + * + * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ChangeValuesConfigurationItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Configuration::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\ChangeValuesConfigurationItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\ChangeValuesConfigurationItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ChangeValuesConfigurationItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ChangeValuesSecretItem.php b/src/Endpoint/ChangeValuesSecretItem.php new file mode 100644 index 00000000..1a86d2a9 --- /dev/null +++ b/src/Endpoint/ChangeValuesSecretItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}/change'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\SecretChangeSecretValueInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Secret|null + * + * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ChangeValuesSecretItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Secret::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\ChangeValuesSecretItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\ChangeValuesSecretItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ChangeValuesSecretItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeclareExecutionExecutionCollection.php b/src/Endpoint/DeclareExecutionExecutionCollection.php index f09ae7e2..d4b129ec 100644 --- a/src/Endpoint/DeclareExecutionExecutionCollection.php +++ b/src/Endpoint/DeclareExecutionExecutionCollection.php @@ -31,7 +31,7 @@ public function getMethod(): string public function getUri(): string { - return '/runtime/executions/declare'; + return '/runtime/execution'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,13 +57,15 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { throw new \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException(); diff --git a/src/Endpoint/DeclarePipelinePipelineCollection.php b/src/Endpoint/DeclarePipelinePipelineCollection.php index 855cd29e..e12d40db 100644 --- a/src/Endpoint/DeclarePipelinePipelineCollection.php +++ b/src/Endpoint/DeclarePipelinePipelineCollection.php @@ -31,7 +31,7 @@ public function getMethod(): string public function getUri(): string { - return '/runtime/pipelines'; + return '/runtime/pipeline'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,13 +57,15 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { throw new \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException(); diff --git a/src/Endpoint/DeleteConfigurationItem.php b/src/Endpoint/DeleteConfigurationItem.php new file mode 100644 index 00000000..207fa213 --- /dev/null +++ b/src/Endpoint/DeleteConfigurationItem.php @@ -0,0 +1,64 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/configuration/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteConfigurationItemNotFoundException + */ + 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\DeleteConfigurationItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteEnvironmentItem.php b/src/Endpoint/DeleteEnvironmentItem.php new file mode 100644 index 00000000..c6d509f9 --- /dev/null +++ b/src/Endpoint/DeleteEnvironmentItem.php @@ -0,0 +1,64 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/environment/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteEnvironmentItemNotFoundException + */ + 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\DeleteEnvironmentItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteOfferItem.php b/src/Endpoint/DeleteOfferItem.php index b775e290..dba3d7b2 100644 --- a/src/Endpoint/DeleteOfferItem.php +++ b/src/Endpoint/DeleteOfferItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeleteOrganizationItem.php b/src/Endpoint/DeleteOrganizationItem.php index 454a17d2..a43509d0 100644 --- a/src/Endpoint/DeleteOrganizationItem.php +++ b/src/Endpoint/DeleteOrganizationItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeletePipelinePipelineItem.php b/src/Endpoint/DeletePipelinePipelineItem.php index a22847f5..415df87f 100644 --- a/src/Endpoint/DeletePipelinePipelineItem.php +++ b/src/Endpoint/DeletePipelinePipelineItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeletePipelineStepPipelineItem.php b/src/Endpoint/DeletePipelineStepPipelineItem.php index 34e649c6..dcc33a8e 100644 --- a/src/Endpoint/DeletePipelineStepPipelineItem.php +++ b/src/Endpoint/DeletePipelineStepPipelineItem.php @@ -46,6 +46,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeleteReferralCodeItem.php b/src/Endpoint/DeleteReferralCodeItem.php index 644796ad..cd4d9d69 100644 --- a/src/Endpoint/DeleteReferralCodeItem.php +++ b/src/Endpoint/DeleteReferralCodeItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeleteSecretItem.php b/src/Endpoint/DeleteSecretItem.php new file mode 100644 index 00000000..840780e0 --- /dev/null +++ b/src/Endpoint/DeleteSecretItem.php @@ -0,0 +1,64 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteSecretItemNotFoundException + */ + 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\DeleteSecretItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteSubscriptionItem.php b/src/Endpoint/DeleteSubscriptionItem.php index b5d1a59c..1fe51cc6 100644 --- a/src/Endpoint/DeleteSubscriptionItem.php +++ b/src/Endpoint/DeleteSubscriptionItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeleteUserAuthorizationItem.php b/src/Endpoint/DeleteUserAuthorizationItem.php index e67994e4..087db084 100644 --- a/src/Endpoint/DeleteUserAuthorizationItem.php +++ b/src/Endpoint/DeleteUserAuthorizationItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeleteUserItem.php b/src/Endpoint/DeleteUserItem.php index 41bdaa48..f0d08ec7 100644 --- a/src/Endpoint/DeleteUserItem.php +++ b/src/Endpoint/DeleteUserItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/DeleteVariableFromConfigurationItem.php b/src/Endpoint/DeleteVariableFromConfigurationItem.php new file mode 100644 index 00000000..48b448fd --- /dev/null +++ b/src/Endpoint/DeleteVariableFromConfigurationItem.php @@ -0,0 +1,64 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/variables-from-configuration/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteVariableFromConfigurationItemNotFoundException + */ + 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\DeleteVariableFromConfigurationItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteVariableFromConstantItem.php b/src/Endpoint/DeleteVariableFromConstantItem.php new file mode 100644 index 00000000..73cc6ee6 --- /dev/null +++ b/src/Endpoint/DeleteVariableFromConstantItem.php @@ -0,0 +1,64 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/variables-from-constant/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteVariableFromConstantItemNotFoundException + */ + 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\DeleteVariableFromConstantItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteVariableFromSecretItem.php b/src/Endpoint/DeleteVariableFromSecretItem.php new file mode 100644 index 00000000..efdc013f --- /dev/null +++ b/src/Endpoint/DeleteVariableFromSecretItem.php @@ -0,0 +1,64 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/variables-from-secret/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\DeleteVariableFromSecretItemNotFoundException + */ + 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\DeleteVariableFromSecretItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteWorkspaceItem.php b/src/Endpoint/DeleteWorkspaceItem.php index f2c3a76f..8f835258 100644 --- a/src/Endpoint/DeleteWorkspaceItem.php +++ b/src/Endpoint/DeleteWorkspaceItem.php @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/EditConfigurationItem.php b/src/Endpoint/EditConfigurationItem.php new file mode 100644 index 00000000..4a704f6b --- /dev/null +++ b/src/Endpoint/EditConfigurationItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/configuration/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationJsonldEdit) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationEdit) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationEdit) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Configuration|null + * + * @throws \Gyroscops\Api\Exception\EditConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditConfigurationItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Configuration::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\EditConfigurationItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\EditConfigurationItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\EditConfigurationItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/EditEnvironmentItem.php b/src/Endpoint/EditEnvironmentItem.php new file mode 100644 index 00000000..962f48f5 --- /dev/null +++ b/src/Endpoint/EditEnvironmentItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/environment/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentJsonldWrite) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentWrite) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentWrite) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\EnvironmentRead|null + * + * @throws \Gyroscops\Api\Exception\EditEnvironmentItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditEnvironmentItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditEnvironmentItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\EnvironmentRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\EditEnvironmentItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\EditEnvironmentItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\EditEnvironmentItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/EditSecretItem.php b/src/Endpoint/EditSecretItem.php new file mode 100644 index 00000000..2969c634 --- /dev/null +++ b/src/Endpoint/EditSecretItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SecretJsonldEdit) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\SecretEdit) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\SecretEdit) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Secret|null + * + * @throws \Gyroscops\Api\Exception\EditSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditSecretItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Secret::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\EditSecretItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\EditSecretItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\EditSecretItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/EditVariableFromConfigurationItem.php b/src/Endpoint/EditVariableFromConfigurationItem.php new file mode 100644 index 00000000..dea2c446 --- /dev/null +++ b/src/Endpoint/EditVariableFromConfigurationItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/variables-from-configuration/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigurationJsonldWrite) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; + } + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\VariableFromConfigurationRead|null + * + * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditVariableFromConfigurationItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\VariableFromConfigurationRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromConfigurationItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromConfigurationItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromConfigurationItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/EditVariableFromConstantItem.php b/src/Endpoint/EditVariableFromConstantItem.php new file mode 100644 index 00000000..07b6f9f9 --- /dev/null +++ b/src/Endpoint/EditVariableFromConstantItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/variables-from-constant/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConstantJsonldWrite) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; + } + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\VariableFromConstantRead|null + * + * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditVariableFromConstantItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\VariableFromConstantRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromConstantItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromConstantItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromConstantItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/EditVariableFromSecretItem.php b/src/Endpoint/EditVariableFromSecretItem.php new file mode 100644 index 00000000..7bb97536 --- /dev/null +++ b/src/Endpoint/EditVariableFromSecretItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/variables-from-secret/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretJsonldWrite) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; + } + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\VariableFromSecretRead|null + * + * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\EditVariableFromSecretItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\VariableFromSecretRead::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromSecretItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromSecretItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\EditVariableFromSecretItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/FinishExecutionExecutionCollection.php b/src/Endpoint/FinishExecutionExecutionItem.php similarity index 56% rename from src/Endpoint/FinishExecutionExecutionCollection.php rename to src/Endpoint/FinishExecutionExecutionItem.php index 57bfb376..267fa8fe 100644 --- a/src/Endpoint/FinishExecutionExecutionCollection.php +++ b/src/Endpoint/FinishExecutionExecutionItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class FinishExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class FinishExecutionExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Finishes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput|null $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\stdClass|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/executions/finish'; + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/finish'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -39,10 +42,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\FinishExecutionExecutionItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\FinishExecutionExecutionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\FinishExecutionExecutionItemNotFoundException(); } } diff --git a/src/Endpoint/GetActionCollection.php b/src/Endpoint/GetActionCollection.php index d1150f21..5c13e71b 100644 --- a/src/Endpoint/GetActionCollection.php +++ b/src/Endpoint/GetActionCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead[]', 'json'); } } diff --git a/src/Endpoint/GetActionItem.php b/src/Endpoint/GetActionItem.php index b9f804d6..54fd402a 100644 --- a/src/Endpoint/GetActionItem.php +++ b/src/Endpoint/GetActionItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ActionRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetActionItemNotFoundException(); diff --git a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php index c33e43d4..c9c103dd 100644 --- a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php @@ -67,7 +67,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceCollection.php index c0fa6395..56a01cdb 100644 --- a/src/Endpoint/GetAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoInstanceItem.php b/src/Endpoint/GetAkeneoInstanceItem.php index e4417202..80069a9d 100644 --- a/src/Endpoint/GetAkeneoInstanceItem.php +++ b/src/Endpoint/GetAkeneoInstanceItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\AkeneoInstance::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException(); diff --git a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php index abc9b6b7..6278e231 100644 --- a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php @@ -67,7 +67,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php index 0096620b..b25fd246 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php @@ -67,7 +67,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountCollection.php index 3c7fe751..45175c3c 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/GetAkeneoLinkedAccountCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountItem.php b/src/Endpoint/GetAkeneoLinkedAccountItem.php index 2b6363a5..175592da 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountItem.php +++ b/src/Endpoint/GetAkeneoLinkedAccountItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\AkeneoLinkedAccount::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException(); diff --git a/src/Endpoint/GetAkeneoOauthTokenCollection.php b/src/Endpoint/GetAkeneoOauthTokenCollection.php index 1f292efe..6cd8f09a 100644 --- a/src/Endpoint/GetAkeneoOauthTokenCollection.php +++ b/src/Endpoint/GetAkeneoOauthTokenCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoOauthTokenItem.php b/src/Endpoint/GetAkeneoOauthTokenItem.php index 3d13f4d4..db5199e9 100644 --- a/src/Endpoint/GetAkeneoOauthTokenItem.php +++ b/src/Endpoint/GetAkeneoOauthTokenItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\AkeneoOauthTokenRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException(); diff --git a/src/Endpoint/GetConfigMapCollection.php b/src/Endpoint/GetCompilationCollection.php similarity index 78% rename from src/Endpoint/GetConfigMapCollection.php rename to src/Endpoint/GetCompilationCollection.php index 413b9c9b..e6538d8b 100644 --- a/src/Endpoint/GetConfigMapCollection.php +++ b/src/Endpoint/GetCompilationCollection.php @@ -10,12 +10,12 @@ namespace Gyroscops\Api\Endpoint; -class GetConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetCompilationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; /** - * Retrieves the collection of ConfigMap resources. + * Retrieves the collection of Compilation resources. * * @param array $queryParameters { * @@ -34,7 +34,7 @@ public function getMethod(): string public function getUri(): string { - return '/environment/config-maps'; + return '/runtime/compilations'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -61,12 +61,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\ConfigMap[]|null + * @return \Gyroscops\Api\Model\Compilation[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Compilation[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineCompilationItem.php b/src/Endpoint/GetCompilationItem.php similarity index 60% rename from src/Endpoint/GetPipelineCompilationItem.php rename to src/Endpoint/GetCompilationItem.php index c0866a17..72c097b8 100644 --- a/src/Endpoint/GetPipelineCompilationItem.php +++ b/src/Endpoint/GetCompilationItem.php @@ -10,13 +10,13 @@ namespace Gyroscops\Api\Endpoint; -class GetPipelineCompilationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetCompilationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; /** - * Retrieves a PipelineCompilation resource. + * Retrieves a Compilation resource. * * @param string $id Resource identifier */ @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtimepipeline/compilation/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/compilation/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -48,17 +48,17 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\PipelineCompilation|null + * @return \Gyroscops\Api\Model\Compilation|null * - * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException + * @throws \Gyroscops\Api\Exception\GetCompilationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Compilation::class, 'json'); } if (404 === $status) { - throw new \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException(); + throw new \Gyroscops\Api\Exception\GetCompilationItemNotFoundException(); } } diff --git a/src/Endpoint/GetVariableFromSecretCollection.php b/src/Endpoint/GetConfigurationCollection.php similarity index 77% rename from src/Endpoint/GetVariableFromSecretCollection.php rename to src/Endpoint/GetConfigurationCollection.php index 34f39b27..772084aa 100644 --- a/src/Endpoint/GetVariableFromSecretCollection.php +++ b/src/Endpoint/GetConfigurationCollection.php @@ -10,12 +10,12 @@ namespace Gyroscops\Api\Endpoint; -class GetVariableFromSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetConfigurationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; /** - * Retrieves the collection of VariableFromSecret resources. + * Retrieves the collection of Configuration resources. * * @param array $queryParameters { * @@ -34,7 +34,7 @@ public function getMethod(): string public function getUri(): string { - return '/environment/variable-from-secrets'; + return '/environment/configurations'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -61,12 +61,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\VariableFromSecret[]|null + * @return \Gyroscops\Api\Model\Configuration[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret[]', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Configuration[]', 'json'); } } diff --git a/src/Endpoint/GetConfigMapItem.php b/src/Endpoint/GetConfigurationItem.php similarity index 65% rename from src/Endpoint/GetConfigMapItem.php rename to src/Endpoint/GetConfigurationItem.php index 64f60faf..3ec2e314 100644 --- a/src/Endpoint/GetConfigMapItem.php +++ b/src/Endpoint/GetConfigurationItem.php @@ -10,13 +10,13 @@ namespace Gyroscops\Api\Endpoint; -class GetConfigMapItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; /** - * Retrieves a ConfigMap resource. + * Retrieves a Configuration resource. * * @param string $id Resource identifier */ @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/environment/config-map/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/configuration/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -48,17 +48,17 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\ConfigMap|null + * @return \Gyroscops\Api\Model\Configuration|null * - * @throws \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException + * @throws \Gyroscops\Api\Exception\GetConfigurationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Configuration::class, 'json'); } if (404 === $status) { - throw new \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException(); + throw new \Gyroscops\Api\Exception\GetConfigurationItemNotFoundException(); } } diff --git a/src/Endpoint/GetEnvironmentCollection.php b/src/Endpoint/GetEnvironmentCollection.php index d9ad91c6..ae9a60a7 100644 --- a/src/Endpoint/GetEnvironmentCollection.php +++ b/src/Endpoint/GetEnvironmentCollection.php @@ -61,12 +61,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\Environment[]|null + * @return \Gyroscops\Api\Model\EnvironmentRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment[]', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentRead[]', 'json'); } } diff --git a/src/Endpoint/GetEnvironmentItem.php b/src/Endpoint/GetEnvironmentItem.php index ee33c550..8fd84c79 100644 --- a/src/Endpoint/GetEnvironmentItem.php +++ b/src/Endpoint/GetEnvironmentItem.php @@ -48,14 +48,14 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\Environment|null + * @return \Gyroscops\Api\Model\EnvironmentRead|null * * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\EnvironmentRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionActionItem.php b/src/Endpoint/GetExecutionActionItem.php index 15623f34..ff3cfa7a 100644 --- a/src/Endpoint/GetExecutionActionItem.php +++ b/src/Endpoint/GetExecutionActionItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionAction::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionCollection.php b/src/Endpoint/GetExecutionCollection.php index be5d50a6..9b7dd7a7 100644 --- a/src/Endpoint/GetExecutionCollection.php +++ b/src/Endpoint/GetExecutionCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionItem.php b/src/Endpoint/GetExecutionItem.php index bfd2d7e6..ffb5c67a 100644 --- a/src/Endpoint/GetExecutionItem.php +++ b/src/Endpoint/GetExecutionItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionPipelineCollection.php b/src/Endpoint/GetExecutionPipelineCollection.php index 914fda3a..e6027ff0 100644 --- a/src/Endpoint/GetExecutionPipelineCollection.php +++ b/src/Endpoint/GetExecutionPipelineCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionPipelineItem.php b/src/Endpoint/GetExecutionPipelineItem.php index dcd3b90e..478d2302 100644 --- a/src/Endpoint/GetExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionPipelineItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionPipeline::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionPipelineJobCollection.php b/src/Endpoint/GetExecutionPipelineJobCollection.php index 7c9087c3..725ad147 100644 --- a/src/Endpoint/GetExecutionPipelineJobCollection.php +++ b/src/Endpoint/GetExecutionPipelineJobCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionPipelineJobItem.php b/src/Endpoint/GetExecutionPipelineJobItem.php index 771fb0f0..9a29ff7e 100644 --- a/src/Endpoint/GetExecutionPipelineJobItem.php +++ b/src/Endpoint/GetExecutionPipelineJobItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionPipelineJob::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionPipelineStepItem.php b/src/Endpoint/GetExecutionPipelineStepItem.php index c5e9183b..a47cb2c6 100644 --- a/src/Endpoint/GetExecutionPipelineStepItem.php +++ b/src/Endpoint/GetExecutionPipelineStepItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionPipelineStep::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionWorkflowCollection.php b/src/Endpoint/GetExecutionWorkflowCollection.php index 4c1173ba..6b4fa334 100644 --- a/src/Endpoint/GetExecutionWorkflowCollection.php +++ b/src/Endpoint/GetExecutionWorkflowCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionWorkflowItem.php b/src/Endpoint/GetExecutionWorkflowItem.php index 6d88fa43..76146e27 100644 --- a/src/Endpoint/GetExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionWorkflowItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionWorkflow::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionWorkflowJobActionItem.php b/src/Endpoint/GetExecutionWorkflowJobActionItem.php index 5460b464..e68efc75 100644 --- a/src/Endpoint/GetExecutionWorkflowJobActionItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobActionItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionWorkflowJobAction::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException(); diff --git a/src/Endpoint/GetExecutionWorkflowJobCollection.php b/src/Endpoint/GetExecutionWorkflowJobCollection.php index 62b8b567..ca1f4d2d 100644 --- a/src/Endpoint/GetExecutionWorkflowJobCollection.php +++ b/src/Endpoint/GetExecutionWorkflowJobCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionWorkflowJobItem.php b/src/Endpoint/GetExecutionWorkflowJobItem.php index 07b4efd6..373c1792 100644 --- a/src/Endpoint/GetExecutionWorkflowJobItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ExecutionWorkflowJob::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException(); diff --git a/src/Endpoint/GetForgotPassword.php b/src/Endpoint/GetForgotPassword.php index 221171b1..53189864 100644 --- a/src/Endpoint/GetForgotPassword.php +++ b/src/Endpoint/GetForgotPassword.php @@ -43,12 +43,14 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException(); diff --git a/src/Endpoint/GetOfferCollection.php b/src/Endpoint/GetOfferCollection.php index 08e4a643..fb8d7500 100644 --- a/src/Endpoint/GetOfferCollection.php +++ b/src/Endpoint/GetOfferCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer[]', 'json'); } } diff --git a/src/Endpoint/GetOfferItem.php b/src/Endpoint/GetOfferItem.php index 4cacf7d9..c8ae8b94 100644 --- a/src/Endpoint/GetOfferItem.php +++ b/src/Endpoint/GetOfferItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Offer::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOfferItemNotFoundException(); diff --git a/src/Endpoint/GetOnPremiseRequestCollection.php b/src/Endpoint/GetOnPremiseRequestCollection.php index f6c4e021..0c3f3fec 100644 --- a/src/Endpoint/GetOnPremiseRequestCollection.php +++ b/src/Endpoint/GetOnPremiseRequestCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead[]', 'json'); } } diff --git a/src/Endpoint/GetOnPremiseRequestItem.php b/src/Endpoint/GetOnPremiseRequestItem.php index 3506ea34..bfc8603e 100644 --- a/src/Endpoint/GetOnPremiseRequestItem.php +++ b/src/Endpoint/GetOnPremiseRequestItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException(); diff --git a/src/Endpoint/GetOrganizationCollection.php b/src/Endpoint/GetOrganizationCollection.php index e88b4358..ea2b45fc 100644 --- a/src/Endpoint/GetOrganizationCollection.php +++ b/src/Endpoint/GetOrganizationCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization[]', 'json'); } } diff --git a/src/Endpoint/GetOrganizationItem.php b/src/Endpoint/GetOrganizationItem.php index 39396f0c..f49ff63b 100644 --- a/src/Endpoint/GetOrganizationItem.php +++ b/src/Endpoint/GetOrganizationItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException(); diff --git a/src/Endpoint/GetPipelineCollection.php b/src/Endpoint/GetPipelineCollection.php index 20eef930..64528663 100644 --- a/src/Endpoint/GetPipelineCollection.php +++ b/src/Endpoint/GetPipelineCollection.php @@ -69,7 +69,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineItem.php b/src/Endpoint/GetPipelineItem.php index 904162e0..c82915f6 100644 --- a/src/Endpoint/GetPipelineItem.php +++ b/src/Endpoint/GetPipelineItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\PipelineRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineItemNotFoundException(); diff --git a/src/Endpoint/GetPipelineStepCollection.php b/src/Endpoint/GetPipelineStepCollection.php index 30d9cbac..75d19c47 100644 --- a/src/Endpoint/GetPipelineStepCollection.php +++ b/src/Endpoint/GetPipelineStepCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineStepItem.php b/src/Endpoint/GetPipelineStepItem.php index 89920e9b..553f5f68 100644 --- a/src/Endpoint/GetPipelineStepItem.php +++ b/src/Endpoint/GetPipelineStepItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\PipelineStep::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException(); diff --git a/src/Endpoint/GetPipelineStepProbeCollection.php b/src/Endpoint/GetPipelineStepProbeCollection.php index 8713844d..c8ba063d 100644 --- a/src/Endpoint/GetPipelineStepProbeCollection.php +++ b/src/Endpoint/GetPipelineStepProbeCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineStepProbeItem.php b/src/Endpoint/GetPipelineStepProbeItem.php index a8eee999..f36d7334 100644 --- a/src/Endpoint/GetPipelineStepProbeItem.php +++ b/src/Endpoint/GetPipelineStepProbeItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\PipelineStepProbe::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException(); diff --git a/src/Endpoint/GetReferralCodeCollection.php b/src/Endpoint/GetReferralCodeCollection.php index dbbfbd99..87f53c7f 100644 --- a/src/Endpoint/GetReferralCodeCollection.php +++ b/src/Endpoint/GetReferralCodeCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead[]', 'json'); } } diff --git a/src/Endpoint/GetReferralCodeItem.php b/src/Endpoint/GetReferralCodeItem.php index 2ed6556d..38cfe816 100644 --- a/src/Endpoint/GetReferralCodeItem.php +++ b/src/Endpoint/GetReferralCodeItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ReferralCodeReferralCodeRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException(); diff --git a/src/Endpoint/GetReferralRequestCollection.php b/src/Endpoint/GetReferralRequestCollection.php index a4da9938..5fbc056c 100644 --- a/src/Endpoint/GetReferralRequestCollection.php +++ b/src/Endpoint/GetReferralRequestCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead[]', 'json'); } } diff --git a/src/Endpoint/GetReferralRequestItem.php b/src/Endpoint/GetReferralRequestItem.php index b89101f7..9ea8ad3f 100644 --- a/src/Endpoint/GetReferralRequestItem.php +++ b/src/Endpoint/GetReferralRequestItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException(); diff --git a/src/Endpoint/GetScheduleCollection.php b/src/Endpoint/GetScheduleCollection.php index 9e0bb0c3..2a24cb73 100644 --- a/src/Endpoint/GetScheduleCollection.php +++ b/src/Endpoint/GetScheduleCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Schedule[]', 'json'); } } diff --git a/src/Endpoint/GetScheduleItem.php b/src/Endpoint/GetScheduleItem.php index 691538b4..db86ae8c 100644 --- a/src/Endpoint/GetScheduleItem.php +++ b/src/Endpoint/GetScheduleItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Schedule', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Schedule::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetScheduleItemNotFoundException(); diff --git a/src/Endpoint/GetSecretCollection.php b/src/Endpoint/GetSecretCollection.php index 7961157f..880e3ddc 100644 --- a/src/Endpoint/GetSecretCollection.php +++ b/src/Endpoint/GetSecretCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } } diff --git a/src/Endpoint/GetSecretItem.php b/src/Endpoint/GetSecretItem.php index 85e7fa8b..d1a6222b 100644 --- a/src/Endpoint/GetSecretItem.php +++ b/src/Endpoint/GetSecretItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Secret::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetSecretItemNotFoundException(); diff --git a/src/Endpoint/GetSubscriptionCollection.php b/src/Endpoint/GetSubscriptionCollection.php index 145d684b..bb3ac9e0 100644 --- a/src/Endpoint/GetSubscriptionCollection.php +++ b/src/Endpoint/GetSubscriptionCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription[]', 'json'); } } diff --git a/src/Endpoint/GetSubscriptionItem.php b/src/Endpoint/GetSubscriptionItem.php index 55032301..85f92c5d 100644 --- a/src/Endpoint/GetSubscriptionItem.php +++ b/src/Endpoint/GetSubscriptionItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Subscription::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException(); diff --git a/src/Endpoint/GetUserAuthorizationCollection.php b/src/Endpoint/GetUserAuthorizationCollection.php index a0dcbd15..135c2c70 100644 --- a/src/Endpoint/GetUserAuthorizationCollection.php +++ b/src/Endpoint/GetUserAuthorizationCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/GetUserAuthorizationItem.php b/src/Endpoint/GetUserAuthorizationItem.php index de794837..0f22bc0d 100644 --- a/src/Endpoint/GetUserAuthorizationItem.php +++ b/src/Endpoint/GetUserAuthorizationItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\UserAuthorization::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException(); diff --git a/src/Endpoint/GetUserCollection.php b/src/Endpoint/GetUserCollection.php index d99d578c..c350dc82 100644 --- a/src/Endpoint/GetUserCollection.php +++ b/src/Endpoint/GetUserCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/GetUserItem.php b/src/Endpoint/GetUserItem.php index 9f911c8d..ee172f6e 100644 --- a/src/Endpoint/GetUserItem.php +++ b/src/Endpoint/GetUserItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetUserItemNotFoundException(); diff --git a/src/Endpoint/GetVariableFromConfigMapItem.php b/src/Endpoint/GetVariableFromConfigurationItem.php similarity index 65% rename from src/Endpoint/GetVariableFromConfigMapItem.php rename to src/Endpoint/GetVariableFromConfigurationItem.php index 6e4efa8d..c6127a30 100644 --- a/src/Endpoint/GetVariableFromConfigMapItem.php +++ b/src/Endpoint/GetVariableFromConfigurationItem.php @@ -10,13 +10,13 @@ namespace Gyroscops\Api\Endpoint; -class GetVariableFromConfigMapItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetVariableFromConfigurationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; /** - * Retrieves a VariableFromConfigMap resource. + * Retrieves a VariableFromConfiguration resource. * * @param string $id Resource identifier */ @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/environment/variable-from-config-map/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variables-from-configuration/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -48,17 +48,17 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\VariableFromConfigMap|null + * @return \Gyroscops\Api\Model\VariableFromConfigurationRead|null * - * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException + * @throws \Gyroscops\Api\Exception\GetVariableFromConfigurationItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\VariableFromConfigurationRead::class, 'json'); } if (404 === $status) { - throw new \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException(); + throw new \Gyroscops\Api\Exception\GetVariableFromConfigurationItemNotFoundException(); } } diff --git a/src/Endpoint/GetVariableFromConstantItem.php b/src/Endpoint/GetVariableFromConstantItem.php new file mode 100644 index 00000000..6cc7621e --- /dev/null +++ b/src/Endpoint/GetVariableFromConstantItem.php @@ -0,0 +1,69 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/variables-from-constant/{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\VariableFromConstantRead|null + * + * @throws \Gyroscops\Api\Exception\GetVariableFromConstantItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\VariableFromConstantRead::class, 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetVariableFromConstantItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetVariableFromSecretItem.php b/src/Endpoint/GetVariableFromSecretItem.php index 1ca42c1b..6f1581af 100644 --- a/src/Endpoint/GetVariableFromSecretItem.php +++ b/src/Endpoint/GetVariableFromSecretItem.php @@ -32,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/environment/variable-from-secret/{id}'); + return str_replace(['{id}'], [$this->id], '/variables-from-secret/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -48,14 +48,14 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\VariableFromSecret|null + * @return \Gyroscops\Api\Model\VariableFromSecretRead|null * * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\VariableFromSecretRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException(); diff --git a/src/Endpoint/GetWorkflowCollection.php b/src/Endpoint/GetWorkflowCollection.php index 66e87e4b..2879f41f 100644 --- a/src/Endpoint/GetWorkflowCollection.php +++ b/src/Endpoint/GetWorkflowCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead[]', 'json'); } } diff --git a/src/Endpoint/GetWorkflowItem.php b/src/Endpoint/GetWorkflowItem.php index fc662fd4..6b694001 100644 --- a/src/Endpoint/GetWorkflowItem.php +++ b/src/Endpoint/GetWorkflowItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\WorkflowRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException(); diff --git a/src/Endpoint/GetWorkflowJobActionItem.php b/src/Endpoint/GetWorkflowJobActionItem.php index fba41ed2..3541c56b 100644 --- a/src/Endpoint/GetWorkflowJobActionItem.php +++ b/src/Endpoint/GetWorkflowJobActionItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAction', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\WorkflowJobAction::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException(); diff --git a/src/Endpoint/GetWorkflowJobItem.php b/src/Endpoint/GetWorkflowJobItem.php index aa35a949..88de0734 100644 --- a/src/Endpoint/GetWorkflowJobItem.php +++ b/src/Endpoint/GetWorkflowJobItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\WorkflowJobRead::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException(); diff --git a/src/Endpoint/GetPipelineCompilationCollection.php b/src/Endpoint/GetWorkflowJobPipelineCollection.php similarity index 80% rename from src/Endpoint/GetPipelineCompilationCollection.php rename to src/Endpoint/GetWorkflowJobPipelineCollection.php index d90a6464..67375132 100644 --- a/src/Endpoint/GetPipelineCompilationCollection.php +++ b/src/Endpoint/GetWorkflowJobPipelineCollection.php @@ -10,12 +10,12 @@ namespace Gyroscops\Api\Endpoint; -class GetPipelineCompilationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetWorkflowJobPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; /** - * Retrieves the collection of PipelineCompilation resources. + * Retrieves the collection of WorkflowJobPipeline resources. * * @param array $queryParameters { * @@ -34,7 +34,7 @@ public function getMethod(): string public function getUri(): string { - return '/runtime/pipelines/compilation'; + return '/runtime/workflow/pipelines'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -61,12 +61,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\PipelineCompilation[]|null + * @return \Gyroscops\Api\Model\WorkflowJobPipeline[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline[]', 'json'); } } diff --git a/src/Endpoint/GetWorkflowJobPipelineItem.php b/src/Endpoint/GetWorkflowJobPipelineItem.php index 35e30a48..6c2a0a57 100644 --- a/src/Endpoint/GetWorkflowJobPipelineItem.php +++ b/src/Endpoint/GetWorkflowJobPipelineItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\WorkflowJobPipeline::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException(); diff --git a/src/Endpoint/GetWorkspaceCollection.php b/src/Endpoint/GetWorkspaceCollection.php index 0ec4c826..adcb2376 100644 --- a/src/Endpoint/GetWorkspaceCollection.php +++ b/src/Endpoint/GetWorkspaceCollection.php @@ -65,7 +65,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } diff --git a/src/Endpoint/GetWorkspaceItem.php b/src/Endpoint/GetWorkspaceItem.php index cc0c6743..cbabc91c 100644 --- a/src/Endpoint/GetWorkspaceItem.php +++ b/src/Endpoint/GetWorkspaceItem.php @@ -54,8 +54,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException(); diff --git a/src/Endpoint/InterruptExecutionExecutionCollection.php b/src/Endpoint/InterruptExecutionExecutionItem.php similarity index 55% rename from src/Endpoint/InterruptExecutionExecutionCollection.php rename to src/Endpoint/InterruptExecutionExecutionItem.php index 0db8a7c7..b1e59bb6 100644 --- a/src/Endpoint/InterruptExecutionExecutionCollection.php +++ b/src/Endpoint/InterruptExecutionExecutionItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class InterruptExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class InterruptExecutionExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Interrupts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput|null $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\stdClass|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/executions/interrupt'; + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/interrupt'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -39,10 +42,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionItemNotFoundException(); } } diff --git a/src/Endpoint/MeUserCollection.php b/src/Endpoint/MeUserCollection.php index 6ee05699..f9a360ca 100644 --- a/src/Endpoint/MeUserCollection.php +++ b/src/Endpoint/MeUserCollection.php @@ -41,7 +41,7 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php b/src/Endpoint/MoveAfterPipelineStepPipelineItem.php similarity index 64% rename from src/Endpoint/MoveAfterPipelineStepPipelineCollection.php rename to src/Endpoint/MoveAfterPipelineStepPipelineItem.php index 2cbc4a7f..d93cd435 100644 --- a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveAfterPipelineStepPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class MoveAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class MoveAfterPipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Moves a step after another one in a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/move-after'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step/{code}/move-after'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php b/src/Endpoint/MoveBeforePipelineStepPipelineItem.php similarity index 64% rename from src/Endpoint/MoveBeforePipelineStepPipelineCollection.php rename to src/Endpoint/MoveBeforePipelineStepPipelineItem.php index 01d1e279..38e6ca1d 100644 --- a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveBeforePipelineStepPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class MoveBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class MoveBeforePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Moves a step before another one in a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/move-before'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step/{code}/move-before'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/PatchOfferItem.php b/src/Endpoint/PatchOfferItem.php index 5221e147..731e9e2d 100644 --- a/src/Endpoint/PatchOfferItem.php +++ b/src/Endpoint/PatchOfferItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Offer::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PatchOfferItemBadRequestException(); diff --git a/src/Endpoint/PatchOrganizationItem.php b/src/Endpoint/PatchOrganizationItem.php index b3580a47..772822ca 100644 --- a/src/Endpoint/PatchOrganizationItem.php +++ b/src/Endpoint/PatchOrganizationItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException(); diff --git a/src/Endpoint/PatchSubscriptionItem.php b/src/Endpoint/PatchSubscriptionItem.php index f2967d53..aef22c81 100644 --- a/src/Endpoint/PatchSubscriptionItem.php +++ b/src/Endpoint/PatchSubscriptionItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Subscription::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException(); diff --git a/src/Endpoint/PatchUserAuthorizationItem.php b/src/Endpoint/PatchUserAuthorizationItem.php index dbce4eec..bac35d29 100644 --- a/src/Endpoint/PatchUserAuthorizationItem.php +++ b/src/Endpoint/PatchUserAuthorizationItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\UserAuthorization::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException(); diff --git a/src/Endpoint/PatchUserItem.php b/src/Endpoint/PatchUserItem.php index 4232924f..e9fb476c 100644 --- a/src/Endpoint/PatchUserItem.php +++ b/src/Endpoint/PatchUserItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PatchUserItemBadRequestException(); diff --git a/src/Endpoint/PatchWorkspaceItem.php b/src/Endpoint/PatchWorkspaceItem.php index b39f2965..7afda32a 100644 --- a/src/Endpoint/PatchWorkspaceItem.php +++ b/src/Endpoint/PatchWorkspaceItem.php @@ -61,8 +61,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException(); diff --git a/src/Endpoint/PipelineCompilationPipelineCollection.php b/src/Endpoint/PipelineCompilationPipelineItem.php similarity index 64% rename from src/Endpoint/PipelineCompilationPipelineCollection.php rename to src/Endpoint/PipelineCompilationPipelineItem.php index 26646bd0..b3523bd5 100644 --- a/src/Endpoint/PipelineCompilationPipelineCollection.php +++ b/src/Endpoint/PipelineCompilationPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class PipelineCompilationPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class PipelineCompilationPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Creates a pipeline compilation. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/compile'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/compile'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/PostAkeneoInstanceCollection.php b/src/Endpoint/PostAkeneoInstanceCollection.php index 569e35eb..ad481cba 100644 --- a/src/Endpoint/PostAkeneoInstanceCollection.php +++ b/src/Endpoint/PostAkeneoInstanceCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\AkeneoInstance::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException(); diff --git a/src/Endpoint/PostAkeneoLinkedAccountCollection.php b/src/Endpoint/PostAkeneoLinkedAccountCollection.php index 5bd9f416..445bd785 100644 --- a/src/Endpoint/PostAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/PostAkeneoLinkedAccountCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\AkeneoLinkedAccount::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException(); diff --git a/src/Endpoint/PostAkeneoOauthTokenCollection.php b/src/Endpoint/PostAkeneoOauthTokenCollection.php index 09d58625..b2a7c694 100644 --- a/src/Endpoint/PostAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PostAkeneoOauthTokenCollection.php @@ -57,13 +57,15 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * + * @return null + * * @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 ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException(); diff --git a/src/Endpoint/PostVariableFromConfigMapCollection.php b/src/Endpoint/PostCompilationCollection.php similarity index 51% rename from src/Endpoint/PostVariableFromConfigMapCollection.php rename to src/Endpoint/PostCompilationCollection.php index 5d949231..b695f811 100644 --- a/src/Endpoint/PostVariableFromConfigMapCollection.php +++ b/src/Endpoint/PostCompilationCollection.php @@ -10,14 +10,14 @@ namespace Gyroscops\Api\Endpoint; -class PostVariableFromConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class PostCompilationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; /** - * Creates a VariableFromConfigMap resource. + * Creates a pipeline compilation. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap|null $requestBody + * @param \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\CompilationCompilePipelineCommandInput|null $requestBody */ public function __construct($requestBody = null) { @@ -31,18 +31,18 @@ public function getMethod(): string public function getUri(): string { - return '/environment/variable-from-config-map'; + return '/runtime/compilation'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMapJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMap) { + if ($this->body instanceof \Gyroscops\Api\Model\CompilationCompilePipelineCommandInput) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMap) { + if ($this->body instanceof \Gyroscops\Api\Model\CompilationCompilePipelineCommandInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,21 +57,21 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\VariableFromConfigMap|null + * @return \Gyroscops\Api\Model\CompilationCompilePipelineCommand|null * - * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PostCompilationCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostCompilationCollectionUnprocessableEntityException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\CompilationCompilePipelineCommand::class, 'json'); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\PostCompilationCollectionBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\PostCompilationCollectionUnprocessableEntityException(); } } diff --git a/src/Endpoint/PostConfigMapCollection.php b/src/Endpoint/PostConfigurationCollection.php similarity index 51% rename from src/Endpoint/PostConfigMapCollection.php rename to src/Endpoint/PostConfigurationCollection.php index d2a6a55f..e6325e9f 100644 --- a/src/Endpoint/PostConfigMapCollection.php +++ b/src/Endpoint/PostConfigurationCollection.php @@ -10,14 +10,14 @@ namespace Gyroscops\Api\Endpoint; -class PostConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class PostConfigurationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; /** - * Creates a ConfigMap resource. + * Creates a Configuration resource. * - * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput|null $requestBody + * @param \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld|\Gyroscops\Api\Model\ConfigurationCreateConfigurationInput|null $requestBody */ public function __construct($requestBody = null) { @@ -31,18 +31,18 @@ public function getMethod(): string public function getUri(): string { - return '/environment/config-map'; + return '/environment/configuration'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,21 +57,21 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\ConfigMap|null + * @return \Gyroscops\Api\Model\Configuration|null * - * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostConfigurationCollectionUnprocessableEntityException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Configuration::class, 'json'); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\PostConfigurationCollectionBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\PostConfigurationCollectionUnprocessableEntityException(); } } diff --git a/src/Endpoint/PostCredentialsItem.php b/src/Endpoint/PostCredentialsItem.php index 5cb81c85..ddf0cc42 100644 --- a/src/Endpoint/PostCredentialsItem.php +++ b/src/Endpoint/PostCredentialsItem.php @@ -50,8 +50,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Token', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Token::class, 'json'); } } diff --git a/src/Endpoint/PostEnvironmentCollection.php b/src/Endpoint/PostEnvironmentCollection.php index 9ee69cb0..37e10722 100644 --- a/src/Endpoint/PostEnvironmentCollection.php +++ b/src/Endpoint/PostEnvironmentCollection.php @@ -17,7 +17,7 @@ class PostEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi /** * Creates a Environment resource. * - * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment|null $requestBody + * @param \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld|\Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput|null $requestBody */ public function __construct($requestBody = null) { @@ -36,13 +36,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\Environment) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\Environment) { + if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,15 +57,15 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\Environment|null + * @return \Gyroscops\Api\Model\EnvironmentRead|null * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\EnvironmentRead::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException(); diff --git a/src/Endpoint/PostForgotPassword.php b/src/Endpoint/PostForgotPassword.php index 50e1278a..cab0466e 100644 --- a/src/Endpoint/PostForgotPassword.php +++ b/src/Endpoint/PostForgotPassword.php @@ -32,7 +32,7 @@ public function getUri(): string 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 [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } return [[], null]; @@ -41,6 +41,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/PostForgotPasswordToken.php b/src/Endpoint/PostForgotPasswordToken.php index e9b044e7..41cc279d 100644 --- a/src/Endpoint/PostForgotPasswordToken.php +++ b/src/Endpoint/PostForgotPasswordToken.php @@ -34,7 +34,7 @@ public function getUri(): string 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 [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } return [[], null]; @@ -43,6 +43,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenBadRequestException * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException */ diff --git a/src/Endpoint/PostOnPremiseRequestCollection.php b/src/Endpoint/PostOnPremiseRequestCollection.php index 175c170e..7ad9ba32 100644 --- a/src/Endpoint/PostOnPremiseRequestCollection.php +++ b/src/Endpoint/PostOnPremiseRequestCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException(); diff --git a/src/Endpoint/PostOrganizationCollection.php b/src/Endpoint/PostOrganizationCollection.php index 73dc9523..102e9937 100644 --- a/src/Endpoint/PostOrganizationCollection.php +++ b/src/Endpoint/PostOrganizationCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException(); diff --git a/src/Endpoint/PostReferralCodeCollection.php b/src/Endpoint/PostReferralCodeCollection.php index 5cae40f2..e3d8c894 100644 --- a/src/Endpoint/PostReferralCodeCollection.php +++ b/src/Endpoint/PostReferralCodeCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ReferralCodeReferralCodeRead::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException(); diff --git a/src/Endpoint/PostReferralRequestCollection.php b/src/Endpoint/PostReferralRequestCollection.php index 7d58ecc2..b5b7421f 100644 --- a/src/Endpoint/PostReferralRequestCollection.php +++ b/src/Endpoint/PostReferralRequestCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException(); diff --git a/src/Endpoint/ScheduleOnceScheduleCollection.php b/src/Endpoint/PostScheduleCollection.php similarity index 58% rename from src/Endpoint/ScheduleOnceScheduleCollection.php rename to src/Endpoint/PostScheduleCollection.php index 489582b1..7aa8b16f 100644 --- a/src/Endpoint/ScheduleOnceScheduleCollection.php +++ b/src/Endpoint/PostScheduleCollection.php @@ -10,14 +10,19 @@ namespace Gyroscops\Api\Endpoint; -class ScheduleOnceScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class PostScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; /** - * Schedule an immediate pipeline execution. + In order to differentiate the different types of schedules, we have set up a field named "type" : + * 1 => Immediate + * 2 => Once + * 3 => Times + * 4 => Until. + * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput|null $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput|null $requestBody */ public function __construct($requestBody = null) { @@ -31,18 +36,18 @@ public function getMethod(): string public function getUri(): string { - return '/runtime/schedule-once'; + return '/runtime/schedule'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput) { + if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,21 +62,21 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|null + * @return null * - * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PostScheduleCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostScheduleCollectionUnprocessableEntityException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand', 'json'); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\PostScheduleCollectionBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\PostScheduleCollectionUnprocessableEntityException(); } } diff --git a/src/Endpoint/PostSecretCollection.php b/src/Endpoint/PostSecretCollection.php index bbb3d1d4..48eacfc1 100644 --- a/src/Endpoint/PostSecretCollection.php +++ b/src/Endpoint/PostSecretCollection.php @@ -17,7 +17,7 @@ class PostSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint im /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput|null $requestBody + * @param \Gyroscops\Api\Model\SecretCreateSecretInputJsonld|\Gyroscops\Api\Model\SecretCreateSecretInput|null $requestBody */ public function __construct($requestBody = null) { @@ -36,13 +36,13 @@ public function getUri(): string public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInputJsonld) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInput) { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInput) { + if ($this->body instanceof \Gyroscops\Api\Model\SecretCreateSecretInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Secret::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException(); diff --git a/src/Endpoint/PostSubscriptionCollection.php b/src/Endpoint/PostSubscriptionCollection.php index a2c71865..0e539db9 100644 --- a/src/Endpoint/PostSubscriptionCollection.php +++ b/src/Endpoint/PostSubscriptionCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Subscription::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException(); diff --git a/src/Endpoint/PostUserAuthorizationCollection.php b/src/Endpoint/PostUserAuthorizationCollection.php index 23364790..305eea32 100644 --- a/src/Endpoint/PostUserAuthorizationCollection.php +++ b/src/Endpoint/PostUserAuthorizationCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\UserAuthorization::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException(); diff --git a/src/Endpoint/PostUserCollection.php b/src/Endpoint/PostUserCollection.php index 3b0e0e9d..fc2e424f 100644 --- a/src/Endpoint/PostUserCollection.php +++ b/src/Endpoint/PostUserCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostUserCollectionBadRequestException(); diff --git a/src/Endpoint/PostVariableFromSecretCollection.php b/src/Endpoint/PostVariableFromSecretCollection.php deleted file mode 100644 index 99e9f39f..00000000 --- a/src/Endpoint/PostVariableFromSecretCollection.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/environment/variable-from-secret'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretJsonld) { - return [['Content-Type' => ['application/ld+json']], $this->body]; - } - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecret) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecret) { - return [['Content-Type' => ['text/html']], $this->body]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\VariableFromSecret|null - * - * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException - */ - protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); - } - if (400 === $status) { - throw new \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException(); - } - if (422 === $status) { - throw new \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException(); - } - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/PostWorkspaceCollection.php b/src/Endpoint/PostWorkspaceCollection.php index ae2ccbcc..7735d5de 100644 --- a/src/Endpoint/PostWorkspaceCollection.php +++ b/src/Endpoint/PostWorkspaceCollection.php @@ -64,8 +64,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException(); diff --git a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php index da5c2da5..7f9e0855 100644 --- a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php @@ -39,10 +39,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria 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) { + if (is_array($this->body) and isset($this->body[0]) and $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) { + if (is_array($this->body) and isset($this->body[0]) and $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,13 +57,15 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * + * @return null + * * @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 ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException(); diff --git a/src/Endpoint/PutAuthenticationToken.php b/src/Endpoint/PutAuthenticationToken.php index dbd03e11..32728ee3 100644 --- a/src/Endpoint/PutAuthenticationToken.php +++ b/src/Endpoint/PutAuthenticationToken.php @@ -32,7 +32,7 @@ public function getUri(): string 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 [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } return [[], null]; @@ -45,11 +45,13 @@ public function getExtraHeaders(): array /** * {@inheritdoc} + * + * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } } diff --git a/src/Endpoint/PutOfferItem.php b/src/Endpoint/PutOfferItem.php index 869cbcf7..6aca58b4 100644 --- a/src/Endpoint/PutOfferItem.php +++ b/src/Endpoint/PutOfferItem.php @@ -68,8 +68,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Offer::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutOfferItemBadRequestException(); diff --git a/src/Endpoint/PutOrganizationItem.php b/src/Endpoint/PutOrganizationItem.php index 0decd4fd..baa05ba8 100644 --- a/src/Endpoint/PutOrganizationItem.php +++ b/src/Endpoint/PutOrganizationItem.php @@ -68,8 +68,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Organization::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException(); diff --git a/src/Endpoint/PutSubscriptionItem.php b/src/Endpoint/PutSubscriptionItem.php index 968cb8d9..2b6812dd 100644 --- a/src/Endpoint/PutSubscriptionItem.php +++ b/src/Endpoint/PutSubscriptionItem.php @@ -68,8 +68,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Subscription::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException(); diff --git a/src/Endpoint/PutUserAuthorizationItem.php b/src/Endpoint/PutUserAuthorizationItem.php index c817ee91..837300d8 100644 --- a/src/Endpoint/PutUserAuthorizationItem.php +++ b/src/Endpoint/PutUserAuthorizationItem.php @@ -68,8 +68,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\UserAuthorization::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException(); diff --git a/src/Endpoint/PutUserItem.php b/src/Endpoint/PutUserItem.php index cc0dc079..0483926c 100644 --- a/src/Endpoint/PutUserItem.php +++ b/src/Endpoint/PutUserItem.php @@ -68,8 +68,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\User::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutUserItemBadRequestException(); diff --git a/src/Endpoint/PutWorkspaceItem.php b/src/Endpoint/PutWorkspaceItem.php index ecb59161..e0bd8897 100644 --- a/src/Endpoint/PutWorkspaceItem.php +++ b/src/Endpoint/PutWorkspaceItem.php @@ -68,8 +68,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Workspace::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException(); diff --git a/src/Endpoint/RejectReferralRequestReferralRequestItem.php b/src/Endpoint/RejectReferralRequestReferralRequestItem.php index 92a7270d..10b6c733 100644 --- a/src/Endpoint/RejectReferralRequestReferralRequestItem.php +++ b/src/Endpoint/RejectReferralRequestReferralRequestItem.php @@ -58,8 +58,8 @@ public function getExtraHeaders(): array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); + if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class, 'json'); } if (400 === $status) { throw new \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemBadRequestException(); diff --git a/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php b/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php new file mode 100644 index 00000000..96fbeb8c --- /dev/null +++ b/src/Endpoint/RemoveComposerAuthPipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/remove-composer-auth'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerAuthPipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php b/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php new file mode 100644 index 00000000..625ef0cc --- /dev/null +++ b/src/Endpoint/RemoveComposerAutoloadPipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/remove-composer-autoload'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerAutoloadPipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php b/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php new file mode 100644 index 00000000..4657d284 --- /dev/null +++ b/src/Endpoint/RemoveComposerPackagePipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/remove-composer-package'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerPackagePipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php b/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php new file mode 100644 index 00000000..b04a5313 --- /dev/null +++ b/src/Endpoint/RemoveComposerRepositoryPipelinePipelineItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/remove-composer-repository'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return null + * + * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemNotFoundException + */ + 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)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\RemoveComposerRepositoryPipelinePipelineItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/RemovePipelineStepProbePipelineItem.php b/src/Endpoint/RemovePipelineStepProbePipelineItem.php index 51f8e93b..eee8334e 100644 --- a/src/Endpoint/RemovePipelineStepProbePipelineItem.php +++ b/src/Endpoint/RemovePipelineStepProbePipelineItem.php @@ -15,22 +15,19 @@ class RemovePipelineStepProbePipelineItem extends \Gyroscops\Api\Runtime\Client\ use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $code; protected $probe_code; - protected $probe_label; protected $id; /** * Removes a probe from a step. * - * @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 $code Step resource code + * @param string $probeCode Probe resource code + * @param string $id Resource identifier */ - public function __construct(string $code, string $probeCode, string $probeLabel, string $id) + public function __construct(string $code, string $probeCode, string $id) { $this->code = $code; $this->probe_code = $probeCode; - $this->probe_label = $probeLabel; $this->id = $id; } @@ -41,7 +38,7 @@ public function getMethod(): string public function getUri(): string { - 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}'); + return str_replace(['{code}', '{probe_code}', '{id}'], [$this->code, $this->probe_code, $this->id], '/runtime/pipeline/{id}/step/{code}/probe/{probeCode}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -52,6 +49,8 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria /** * {@inheritdoc} * + * @return null + * * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) diff --git a/src/Endpoint/RemoveValuesConfigurationItem.php b/src/Endpoint/RemoveValuesConfigurationItem.php new file mode 100644 index 00000000..214d02c4 --- /dev/null +++ b/src/Endpoint/RemoveValuesConfigurationItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/configuration/{id}/remove'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Configuration|null + * + * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveValuesConfigurationItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Configuration::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\RemoveValuesConfigurationItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\RemoveValuesConfigurationItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\RemoveValuesConfigurationItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/RemoveValuesSecretItem.php b/src/Endpoint/RemoveValuesSecretItem.php new file mode 100644 index 00000000..3b9fcbec --- /dev/null +++ b/src/Endpoint/RemoveValuesSecretItem.php @@ -0,0 +1,89 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}/remove'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\SecretRemoveSecretValueInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Secret|null + * + * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemBadRequestException + * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\RemoveValuesSecretItemNotFoundException + */ + 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)) { + return $serializer->deserialize($body, \Gyroscops\Api\Model\Secret::class, 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\RemoveValuesSecretItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\RemoveValuesSecretItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\RemoveValuesSecretItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php b/src/Endpoint/ReorderPipelineStepsPipelineItem.php similarity index 65% rename from src/Endpoint/ReorderPipelineStepsPipelineCollection.php rename to src/Endpoint/ReorderPipelineStepsPipelineItem.php index 57775c2a..12bff1f2 100644 --- a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php +++ b/src/Endpoint/ReorderPipelineStepsPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class ReorderPipelineStepsPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ReorderPipelineStepsPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Reorganizes the steps of a pipeline according to a given order. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/reorder'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/steps/reorder'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/ReplacePipelineStepPipelineCollection.php b/src/Endpoint/ReplacePipelineStepPipelineItem.php similarity index 64% rename from src/Endpoint/ReplacePipelineStepPipelineCollection.php rename to src/Endpoint/ReplacePipelineStepPipelineItem.php index e2c434f7..aa817799 100644 --- a/src/Endpoint/ReplacePipelineStepPipelineCollection.php +++ b/src/Endpoint/ReplacePipelineStepPipelineItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class ReplacePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ReplacePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Replaces a step by another one in a pipeline. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/pipelines/steps/replace'; + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/step/{code}/replace'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemBadRequestException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineItemNotFoundException(); } } diff --git a/src/Endpoint/ResumeExecutionExecutionCollection.php b/src/Endpoint/ResumeExecutionExecutionItem.php similarity index 56% rename from src/Endpoint/ResumeExecutionExecutionCollection.php rename to src/Endpoint/ResumeExecutionExecutionItem.php index 6cf7cace..68452838 100644 --- a/src/Endpoint/ResumeExecutionExecutionCollection.php +++ b/src/Endpoint/ResumeExecutionExecutionItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class ResumeExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ResumeExecutionExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Resumes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput|null $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\stdClass|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/executions/resume'; + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/resume'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -39,10 +42,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionItemNotFoundException(); } } diff --git a/src/Endpoint/ScheduleImmediateScheduleCollection.php b/src/Endpoint/ScheduleImmediateScheduleCollection.php deleted file mode 100644 index b9ee4653..00000000 --- a/src/Endpoint/ScheduleImmediateScheduleCollection.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/runtime/schedule-immediate'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld) { - return [['Content-Type' => ['application/ld+json']], $this->body]; - } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput) { - return [['Content-Type' => ['text/html']], $this->body]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|null - * - * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException - */ - protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand', 'json'); - } - if (400 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException(); - } - if (422 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException(); - } - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ScheduleTimesScheduleCollection.php b/src/Endpoint/ScheduleTimesScheduleCollection.php deleted file mode 100644 index 3bf0e234..00000000 --- a/src/Endpoint/ScheduleTimesScheduleCollection.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/runtime/schedule-times'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld) { - return [['Content-Type' => ['application/ld+json']], $this->body]; - } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput) { - return [['Content-Type' => ['text/html']], $this->body]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|null - * - * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException - */ - protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand', 'json'); - } - if (400 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException(); - } - if (422 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException(); - } - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/ScheduleUntilScheduleCollection.php b/src/Endpoint/ScheduleUntilScheduleCollection.php deleted file mode 100644 index d04c28ee..00000000 --- a/src/Endpoint/ScheduleUntilScheduleCollection.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/runtime/schedule-until'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld) { - return [['Content-Type' => ['application/ld+json']], $this->body]; - } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput) { - return [['Content-Type' => ['text/html']], $this->body]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|null - * - * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException - */ - protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand', 'json'); - } - if (400 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException(); - } - if (422 === $status) { - throw new \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException(); - } - } - - public function getAuthenticationScopes(): array - { - return ['apiKey']; - } -} diff --git a/src/Endpoint/StartExecutionExecutionCollection.php b/src/Endpoint/StartExecutionExecutionItem.php similarity index 52% rename from src/Endpoint/StartExecutionExecutionCollection.php rename to src/Endpoint/StartExecutionExecutionItem.php index b272522f..cddc3201 100644 --- a/src/Endpoint/StartExecutionExecutionCollection.php +++ b/src/Endpoint/StartExecutionExecutionItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class StartExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class StartExecutionExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Starts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput|null $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\stdClass|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/executions/start'; + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/start'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -39,10 +42,10 @@ public function getBody(\Symfony\Component\Serializer\SerializerInterface $seria if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body, JSON_THROW_ON_ERROR)]; } - if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput) { + if ($this->body instanceof \stdClass) { return [['Content-Type' => ['text/html']], $this->body]; } @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\StartExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\StartExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\StartExecutionExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\StartExecutionExecutionItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\StartExecutionExecutionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\StartExecutionExecutionItemNotFoundException(); } } diff --git a/src/Endpoint/TerminateExecutionExecutionCollection.php b/src/Endpoint/TerminateExecutionExecutionItem.php similarity index 65% rename from src/Endpoint/TerminateExecutionExecutionCollection.php rename to src/Endpoint/TerminateExecutionExecutionItem.php index bac910ba..7e563c96 100644 --- a/src/Endpoint/TerminateExecutionExecutionCollection.php +++ b/src/Endpoint/TerminateExecutionExecutionItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class TerminateExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class TerminateExecutionExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Terminates a pipeline execution. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/executions/terminate'; + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/terminate'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionItemNotFoundException(); } } diff --git a/src/Endpoint/UpdateExecutionStateExecutionCollection.php b/src/Endpoint/UpdateExecutionStateExecutionItem.php similarity index 64% rename from src/Endpoint/UpdateExecutionStateExecutionCollection.php rename to src/Endpoint/UpdateExecutionStateExecutionItem.php index c703b871..1a9e5ea5 100644 --- a/src/Endpoint/UpdateExecutionStateExecutionCollection.php +++ b/src/Endpoint/UpdateExecutionStateExecutionItem.php @@ -10,28 +10,31 @@ namespace Gyroscops\Api\Endpoint; -class UpdateExecutionStateExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class UpdateExecutionStateExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; + protected $id; /** * Updates a pipeline execution state. * + * @param string $id Resource identifier * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput|null $requestBody */ - public function __construct($requestBody = null) + public function __construct(string $id, $requestBody = null) { + $this->id = $id; $this->body = $requestBody; } public function getMethod(): string { - return 'POST'; + return 'PUT'; } public function getUri(): string { - return '/runtime/executions/update-state'; + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/update-state'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -57,19 +60,25 @@ public function getExtraHeaders(): array /** * {@inheritdoc} * - * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException - * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException + * @return null + * + * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemBadRequestException + * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemNotFoundException */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { - return json_decode($body); + if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + return json_decode($body, null, 512, JSON_THROW_ON_ERROR); } if (400 === $status) { - throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException(); + throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemBadRequestException(); } if (422 === $status) { - throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException(); + throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionItemNotFoundException(); } } diff --git a/src/Exception/PostVariableFromSecretCollectionBadRequestException.php b/src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php similarity index 80% rename from src/Exception/PostVariableFromSecretCollectionBadRequestException.php rename to src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php index 50d73679..e269afa5 100644 --- a/src/Exception/PostVariableFromSecretCollectionBadRequestException.php +++ b/src/Exception/AddAfterPipelineStepPipelineItemBadRequestException.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Exception; -class PostVariableFromSecretCollectionBadRequestException extends BadRequestException +class AddAfterPipelineStepPipelineItemBadRequestException extends BadRequestException { public function __construct() { diff --git a/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php b/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php new file mode 100644 index 00000000..038ddde3 --- /dev/null +++ b/src/Exception/AddAfterPipelineStepPipelineItemNotFoundException.php @@ -0,0 +1,19 @@ +packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/AbstractPipelineJsonld.php b/src/Model/AbstractPipelineJsonld.php index 7672cbef..d14519e9 100644 --- a/src/Model/AbstractPipelineJsonld.php +++ b/src/Model/AbstractPipelineJsonld.php @@ -48,6 +48,18 @@ class AbstractPipelineJsonld * @var string[]|null */ protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; /** * @var string[]|null */ @@ -61,10 +73,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -179,6 +188,60 @@ public function setAutoload(?array $autoload): self return $this; } + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/AddPipelineComposerAuthCommandInput.php b/src/Model/AddPipelineComposerAuthCommandInput.php new file mode 100644 index 00000000..100fb0e3 --- /dev/null +++ b/src/Model/AddPipelineComposerAuthCommandInput.php @@ -0,0 +1,47 @@ +url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + 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/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php b/src/Model/AddPipelineComposerAuthCommandInputJsonld.php similarity index 65% rename from src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php rename to src/Model/AddPipelineComposerAuthCommandInputJsonld.php index 1193b5b6..c3d3cae3 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php +++ b/src/Model/AddPipelineComposerAuthCommandInputJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld +class AddPipelineComposerAuthCommandInputJsonld { /** * @var mixed|null @@ -27,11 +27,11 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld /** * @var string|null */ - protected $pipeline; + protected $url; /** * @var string|null */ - protected $organization; + protected $token; /** * @return mixed @@ -41,10 +41,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -75,26 +72,26 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string + public function getUrl(): ?string { - return $this->pipeline; + return $this->url; } - public function setPipeline(?string $pipeline): self + public function setUrl(?string $url): self { - $this->pipeline = $pipeline; + $this->url = $url; return $this; } - public function getOrganization(): ?string + public function getToken(): ?string { - return $this->organization; + return $this->token; } - public function setOrganization(?string $organization): self + public function setToken(?string $token): self { - $this->organization = $organization; + $this->token = $token; return $this; } diff --git a/src/Model/AddPipelineComposerRepositoryCommandInput.php b/src/Model/AddPipelineComposerRepositoryCommandInput.php new file mode 100644 index 00000000..c755ddaf --- /dev/null +++ b/src/Model/AddPipelineComposerRepositoryCommandInput.php @@ -0,0 +1,63 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + 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; + } +} diff --git a/src/Model/AddPipelineComposerRepositoryCommandInputJsonld.php b/src/Model/AddPipelineComposerRepositoryCommandInputJsonld.php new file mode 100644 index 00000000..c344e19a --- /dev/null +++ b/src/Model/AddPipelineComposerRepositoryCommandInputJsonld.php @@ -0,0 +1,114 @@ +context; + } + + public function setContext(mixed $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 getType2(): ?string + { + return $this->type2; + } + + public function setType2(?string $type2): self + { + $this->type2 = $type2; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInput.php b/src/Model/AkeneoInstanceAkeneoInstanceInput.php index eaae0434..a5ba9d72 100644 --- a/src/Model/AkeneoInstanceAkeneoInstanceInput.php +++ b/src/Model/AkeneoInstanceAkeneoInstanceInput.php @@ -21,7 +21,7 @@ class AkeneoInstanceAkeneoInstanceInput */ protected $organization; /** - * @var SecretInput|null + * @var CreateSecretInput|null */ protected $secret; @@ -49,12 +49,12 @@ public function setOrganization(?string $organization): self return $this; } - public function getSecret(): ?SecretInput + public function getSecret(): ?CreateSecretInput { return $this->secret; } - public function setSecret(?SecretInput $secret): self + public function setSecret(?CreateSecretInput $secret): self { $this->secret = $secret; diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php index 2b318352..67ea8fb5 100644 --- a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php +++ b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php @@ -33,7 +33,7 @@ class AkeneoInstanceAkeneoInstanceInputJsonld */ protected $organization; /** - * @var SecretInputJsonld|null + * @var CreateSecretInputJsonld|null */ protected $secret; @@ -45,10 +45,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -103,12 +100,12 @@ public function setOrganization(?string $organization): self return $this; } - public function getSecret(): ?SecretInputJsonld + public function getSecret(): ?CreateSecretInputJsonld { return $this->secret; } - public function setSecret(?SecretInputJsonld $secret): self + public function setSecret(?CreateSecretInputJsonld $secret): self { $this->secret = $secret; diff --git a/src/Model/PipelineCompilation.php b/src/Model/Compilation.php similarity index 98% rename from src/Model/PipelineCompilation.php rename to src/Model/Compilation.php index 39176b04..a1077810 100644 --- a/src/Model/PipelineCompilation.php +++ b/src/Model/Compilation.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class PipelineCompilation +class Compilation { /** * @var string|null diff --git a/src/Model/ExecutionActionRead.php b/src/Model/CompilationCompilePipelineCommand.php similarity index 62% rename from src/Model/ExecutionActionRead.php rename to src/Model/CompilationCompilePipelineCommand.php index b35b5735..f72b11bd 100644 --- a/src/Model/ExecutionActionRead.php +++ b/src/Model/CompilationCompilePipelineCommand.php @@ -10,19 +10,22 @@ namespace Gyroscops\Api\Model; -class ExecutionActionRead +class CompilationCompilePipelineCommand { /** - * @var string|null + * @var mixed|null */ protected $id; - public function getId(): ?string + /** + * @return mixed + */ + public function getId() { return $this->id; } - public function setId(?string $id): self + public function setId(mixed $id): self { $this->id = $id; diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php b/src/Model/CompilationCompilePipelineCommandInput.php similarity index 57% rename from src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php rename to src/Model/CompilationCompilePipelineCommandInput.php index d3c1093d..b82b82b9 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php +++ b/src/Model/CompilationCompilePipelineCommandInput.php @@ -10,16 +10,12 @@ namespace Gyroscops\Api\Model; -class ScheduleDeclarePipelineScheduleOnceCommandInput +class CompilationCompilePipelineCommandInput { /** * @var string|null */ protected $pipeline; - /** - * @var \DateTime|null - */ - protected $date; public function getPipeline(): ?string { @@ -32,16 +28,4 @@ public function setPipeline(?string $pipeline): self return $this; } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->date = $date; - - return $this; - } } diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php b/src/Model/CompilationCompilePipelineCommandInputJsonld.php similarity index 73% rename from src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php rename to src/Model/CompilationCompilePipelineCommandInputJsonld.php index 49e3e0be..66dc3a7a 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php +++ b/src/Model/CompilationCompilePipelineCommandInputJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ScheduleDeclarePipelineScheduleOnceCommandInputJsonld +class CompilationCompilePipelineCommandInputJsonld { /** * @var mixed|null @@ -28,10 +28,6 @@ class ScheduleDeclarePipelineScheduleOnceCommandInputJsonld * @var string|null */ protected $pipeline; - /** - * @var \DateTime|null - */ - protected $date; /** * @return mixed @@ -41,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -86,16 +79,4 @@ public function setPipeline(?string $pipeline): self return $this; } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->date = $date; - - return $this; - } } diff --git a/src/Model/ExecutionActionJsonldRead.php b/src/Model/CompilationCompilePipelineCommandJsonld.php similarity index 81% rename from src/Model/ExecutionActionJsonldRead.php rename to src/Model/CompilationCompilePipelineCommandJsonld.php index bf28380e..98c0bcbe 100644 --- a/src/Model/ExecutionActionJsonldRead.php +++ b/src/Model/CompilationCompilePipelineCommandJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ExecutionActionJsonldRead +class CompilationCompilePipelineCommandJsonld { /** * @var mixed|null @@ -25,7 +25,7 @@ class ExecutionActionJsonldRead */ protected $type; /** - * @var string|null + * @var PipelineIdJsonld|null */ protected $id2; @@ -37,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -71,12 +68,12 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?string + public function getId2(): ?PipelineIdJsonld { return $this->id2; } - public function setId2(?string $id2): self + public function setId2(?PipelineIdJsonld $id2): self { $this->id2 = $id2; diff --git a/src/Model/PipelineCompilationJsonld.php b/src/Model/CompilationJsonld.php similarity index 95% rename from src/Model/PipelineCompilationJsonld.php rename to src/Model/CompilationJsonld.php index 5e63f8d1..55381bad 100644 --- a/src/Model/PipelineCompilationJsonld.php +++ b/src/Model/CompilationJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class PipelineCompilationJsonld +class CompilationJsonld { /** * @var string|null @@ -81,10 +81,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; diff --git a/src/Model/ConfigMapValueInput.php b/src/Model/ConfigMapValueInput.php deleted file mode 100644 index 91776e97..00000000 --- a/src/Model/ConfigMapValueInput.php +++ /dev/null @@ -1,91 +0,0 @@ -arrayCopy; - } - - /** - * @param mixed $arrayCopy - */ - public function setArrayCopy($arrayCopy): self - { - $this->arrayCopy = $arrayCopy; - - return $this; - } - - public function getFlags(): ?int - { - return $this->flags; - } - - public function setFlags(?int $flags): self - { - $this->flags = $flags; - - return $this; - } - - /** - * @return mixed - */ - public function getIterator() - { - return $this->iterator; - } - - /** - * @param mixed $iterator - */ - public function setIterator($iterator): self - { - $this->iterator = $iterator; - - return $this; - } - - public function getIteratorClass(): ?string - { - return $this->iteratorClass; - } - - public function setIteratorClass(?string $iteratorClass): self - { - $this->iteratorClass = $iteratorClass; - - return $this; - } -} diff --git a/src/Model/Environment.php b/src/Model/Configuration.php similarity index 65% rename from src/Model/Environment.php rename to src/Model/Configuration.php index c6d0c467..45170103 100644 --- a/src/Model/Environment.php +++ b/src/Model/Configuration.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class Environment +class Configuration { /** * @var string|null @@ -20,6 +20,10 @@ class Environment * @var string|null */ protected $name; + /** + * @var string|null + */ + protected $slug; /** * @var string|null */ @@ -33,9 +37,13 @@ class Environment */ protected $workspace; /** - * @var Variable[]|null + * @var string[]|null */ - protected $variables; + protected $contents; + /** + * @var mixed|null + */ + protected $iterator; public function getId(): ?string { @@ -61,6 +69,18 @@ public function setName(?string $name): self 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; @@ -98,19 +118,34 @@ public function setWorkspace(?string $workspace): self } /** - * @return Variable[]|null + * @return string[]|null */ - public function getVariables(): ?array + public function getContents(): ?iterable { - return $this->variables; + return $this->contents; } /** - * @param Variable[]|null $variables + * @param string[]|null $contents */ - public function setVariables(?array $variables): self + public function setContents(?iterable $contents): self + { + $this->contents = $contents; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self { - $this->variables = $variables; + $this->iterator = $iterator; return $this; } diff --git a/src/Model/ConfigurationChangeConfigurationValueInput.php b/src/Model/ConfigurationChangeConfigurationValueInput.php new file mode 100644 index 00000000..d202cc92 --- /dev/null +++ b/src/Model/ConfigurationChangeConfigurationValueInput.php @@ -0,0 +1,94 @@ +contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?iterable $contents): self + { + $this->contents = $contents; + + return $this; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigMapValueInputJsonld.php b/src/Model/ConfigurationChangeConfigurationValueInputJsonld.php similarity index 59% rename from src/Model/ConfigMapValueInputJsonld.php rename to src/Model/ConfigurationChangeConfigurationValueInputJsonld.php index 2139687e..0b56203d 100644 --- a/src/Model/ConfigMapValueInputJsonld.php +++ b/src/Model/ConfigurationChangeConfigurationValueInputJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ConfigMapValueInputJsonld +class ConfigurationChangeConfigurationValueInputJsonld { /** * @var mixed|null @@ -25,21 +25,21 @@ class ConfigMapValueInputJsonld */ protected $type; /** - * @var mixed|null + * @var string[]|null */ - protected $arrayCopy; + protected $contents; /** - * @var int|null + * @var mixed|null */ - protected $flags; + protected $organization; /** * @var mixed|null */ - protected $iterator; + protected $workspace; /** - * @var string|null + * @var TraversableJsonld|null */ - protected $iteratorClass; + protected $iterator; /** * @return mixed @@ -49,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -84,31 +81,34 @@ public function setType(?string $type): self } /** - * @return mixed + * @return string[]|null */ - public function getArrayCopy() + public function getContents(): ?iterable { - return $this->arrayCopy; + return $this->contents; } /** - * @param mixed $arrayCopy + * @param string[]|null $contents */ - public function setArrayCopy($arrayCopy): self + public function setContents(?iterable $contents): self { - $this->arrayCopy = $arrayCopy; + $this->contents = $contents; return $this; } - public function getFlags(): ?int + /** + * @return mixed + */ + public function getOrganization() { - return $this->flags; + return $this->organization; } - public function setFlags(?int $flags): self + public function setOrganization(mixed $organization): self { - $this->flags = $flags; + $this->organization = $organization; return $this; } @@ -116,29 +116,26 @@ public function setFlags(?int $flags): self /** * @return mixed */ - public function getIterator() + public function getWorkspace() { - return $this->iterator; + return $this->workspace; } - /** - * @param mixed $iterator - */ - public function setIterator($iterator): self + public function setWorkspace(mixed $workspace): self { - $this->iterator = $iterator; + $this->workspace = $workspace; return $this; } - public function getIteratorClass(): ?string + public function getIterator(): ?TraversableJsonld { - return $this->iteratorClass; + return $this->iterator; } - public function setIteratorClass(?string $iteratorClass): self + public function setIterator(?TraversableJsonld $iterator): self { - $this->iteratorClass = $iteratorClass; + $this->iterator = $iterator; return $this; } diff --git a/src/Model/ConfigurationCreateConfigurationInput.php b/src/Model/ConfigurationCreateConfigurationInput.php new file mode 100644 index 00000000..f598cfb8 --- /dev/null +++ b/src/Model/ConfigurationCreateConfigurationInput.php @@ -0,0 +1,126 @@ +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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigurationCreateConfigurationInputJsonld.php b/src/Model/ConfigurationCreateConfigurationInputJsonld.php new file mode 100644 index 00000000..801d32b1 --- /dev/null +++ b/src/Model/ConfigurationCreateConfigurationInputJsonld.php @@ -0,0 +1,174 @@ +context; + } + + public function setContext(mixed $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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $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/ConfigMapConfigMapInput.php b/src/Model/ConfigurationEdit.php similarity index 67% rename from src/Model/ConfigMapConfigMapInput.php rename to src/Model/ConfigurationEdit.php index 7f7a1d6c..d5cfa0e8 100644 --- a/src/Model/ConfigMapConfigMapInput.php +++ b/src/Model/ConfigurationEdit.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ConfigMapConfigMapInput +class ConfigurationEdit { /** * @var string|null @@ -20,10 +20,6 @@ class ConfigMapConfigMapInput * @var string|null */ protected $description; - /** - * @var ConfigMapValueInput|null - */ - protected $configs; public function getName(): ?string { @@ -48,16 +44,4 @@ public function setDescription(?string $description): self 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/UserIdJsonld.php b/src/Model/ConfigurationIdJsonld.php similarity index 88% rename from src/Model/UserIdJsonld.php rename to src/Model/ConfigurationIdJsonld.php index 6c3eda20..ab18e738 100644 --- a/src/Model/UserIdJsonld.php +++ b/src/Model/ConfigurationIdJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class UserIdJsonld +class ConfigurationIdJsonld { /** * @var mixed|null @@ -33,10 +33,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; diff --git a/src/Model/EnvironmentJsonld.php b/src/Model/ConfigurationJsonld.php similarity index 72% rename from src/Model/EnvironmentJsonld.php rename to src/Model/ConfigurationJsonld.php index 2ca613d5..0202bcfc 100644 --- a/src/Model/EnvironmentJsonld.php +++ b/src/Model/ConfigurationJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentJsonld +class ConfigurationJsonld { /** * @var mixed|null @@ -32,6 +32,10 @@ class EnvironmentJsonld * @var string|null */ protected $name; + /** + * @var string|null + */ + protected $slug; /** * @var string|null */ @@ -45,9 +49,13 @@ class EnvironmentJsonld */ protected $workspace; /** - * @var VariableJsonld[]|null + * @var string[]|null */ - protected $variables; + protected $contents; + /** + * @var TraversableJsonld|null + */ + protected $iterator; /** * @return mixed @@ -57,10 +65,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -115,6 +120,18 @@ public function setName(?string $name): self 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; @@ -152,19 +169,31 @@ public function setWorkspace(?string $workspace): self } /** - * @return VariableJsonld[]|null + * @return string[]|null */ - public function getVariables(): ?array + public function getContents(): ?iterable { - return $this->variables; + return $this->contents; } /** - * @param VariableJsonld[]|null $variables + * @param string[]|null $contents */ - public function setVariables(?array $variables): self + public function setContents(?iterable $contents): self + { + $this->contents = $contents; + + return $this; + } + + public function getIterator(): ?TraversableJsonld + { + return $this->iterator; + } + + public function setIterator(?TraversableJsonld $iterator): self { - $this->variables = $variables; + $this->iterator = $iterator; return $this; } diff --git a/src/Model/ConfigMapConfigMapInputJsonld.php b/src/Model/ConfigurationJsonldEdit.php similarity index 75% rename from src/Model/ConfigMapConfigMapInputJsonld.php rename to src/Model/ConfigurationJsonldEdit.php index d73f7630..5f0d5732 100644 --- a/src/Model/ConfigMapConfigMapInputJsonld.php +++ b/src/Model/ConfigurationJsonldEdit.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ConfigMapConfigMapInputJsonld +class ConfigurationJsonldEdit { /** * @var mixed|null @@ -32,10 +32,6 @@ class ConfigMapConfigMapInputJsonld * @var string|null */ protected $description; - /** - * @var ConfigMapValueInputJsonld|null - */ - protected $configs; /** * @return mixed @@ -45,10 +41,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -102,16 +95,4 @@ public function setDescription(?string $description): self 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/SecretInputJsonld.php b/src/Model/ConfigurationJsonldRead.php similarity index 85% rename from src/Model/SecretInputJsonld.php rename to src/Model/ConfigurationJsonldRead.php index 450939ff..1245bc4c 100644 --- a/src/Model/SecretInputJsonld.php +++ b/src/Model/ConfigurationJsonldRead.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class SecretInputJsonld +class ConfigurationJsonldRead { /** * @var mixed|null @@ -24,6 +24,10 @@ class SecretInputJsonld * @var string|null */ protected $type; + /** + * @var string|null + */ + protected $id2; /** * @var string|null */ @@ -45,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,6 +80,18 @@ public function setType(?string $type): self 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; diff --git a/src/Model/SecretSecretInput.php b/src/Model/ConfigurationRead.php similarity index 80% rename from src/Model/SecretSecretInput.php rename to src/Model/ConfigurationRead.php index e85bee79..cd9e320a 100644 --- a/src/Model/SecretSecretInput.php +++ b/src/Model/ConfigurationRead.php @@ -10,8 +10,12 @@ namespace Gyroscops\Api\Model; -class SecretSecretInput +class ConfigurationRead { + /** + * @var string|null + */ + protected $id; /** * @var string|null */ @@ -25,6 +29,18 @@ class SecretSecretInput */ protected $contents; + public function getId(): ?string + { + return $this->id; + } + + public function setId(?string $id): self + { + $this->id = $id; + + return $this; + } + public function getName(): ?string { return $this->name; diff --git a/src/Model/ConfigurationRemoveConfigurationValueInput.php b/src/Model/ConfigurationRemoveConfigurationValueInput.php new file mode 100644 index 00000000..ea0f004f --- /dev/null +++ b/src/Model/ConfigurationRemoveConfigurationValueInput.php @@ -0,0 +1,113 @@ +id; + } + + public function setId(mixed $id): self + { + $this->id = $id; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->contents = $contents; + + return $this; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php b/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php new file mode 100644 index 00000000..8ef4a91a --- /dev/null +++ b/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php @@ -0,0 +1,161 @@ +context; + } + + public function setContext(mixed $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 getId2() + { + return $this->id2; + } + + public function setId2(mixed $id2): self + { + $this->id2 = $id2; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->contents = $contents; + + return $this; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $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/CreateSecretInput.php b/src/Model/CreateSecretInput.php new file mode 100644 index 00000000..a1e8e7c9 --- /dev/null +++ b/src/Model/CreateSecretInput.php @@ -0,0 +1,126 @@ +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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/CreateSecretInputJsonld.php b/src/Model/CreateSecretInputJsonld.php new file mode 100644 index 00000000..3dd2e12f --- /dev/null +++ b/src/Model/CreateSecretInputJsonld.php @@ -0,0 +1,174 @@ +context; + } + + public function setContext(mixed $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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $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/EnvironmentAddMultipleVariableFromConfigurationInput.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php new file mode 100644 index 00000000..c8bdc923 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php @@ -0,0 +1,56 @@ +variables; + } + + /** + * @param VariableFromConfigurationInput[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php similarity index 55% rename from src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php rename to src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php index 112f1978..cb293bf0 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php +++ b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ScheduleDeclarePipelineScheduleImmediateCommandJsonld +class EnvironmentAddMultipleVariableFromConfigurationInputJsonld { /** * @var mixed|null @@ -25,17 +25,13 @@ class ScheduleDeclarePipelineScheduleImmediateCommandJsonld */ protected $type; /** - * @var ScheduleIdJsonld|null + * @var VariableFromConfigurationInputJsonld[]|null */ - protected $id2; + protected $variables; /** - * @var PipelineIdJsonld|null + * @var TraversableJsonld|null */ - protected $pipeline; - /** - * @var UserIdJsonld|null - */ - protected $user; + protected $iterator; /** * @return mixed @@ -45,10 +41,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,38 +72,32 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?ScheduleIdJsonld - { - return $this->id2; - } - - public function setId2(?ScheduleIdJsonld $id2): self - { - $this->id2 = $id2; - - return $this; - } - - public function getPipeline(): ?PipelineIdJsonld + /** + * @return VariableFromConfigurationInputJsonld[]|null + */ + public function getVariables(): ?array { - return $this->pipeline; + return $this->variables; } - public function setPipeline(?PipelineIdJsonld $pipeline): self + /** + * @param VariableFromConfigurationInputJsonld[]|null $variables + */ + public function setVariables(?array $variables): self { - $this->pipeline = $pipeline; + $this->variables = $variables; return $this; } - public function getUser(): ?UserIdJsonld + public function getIterator(): ?TraversableJsonld { - return $this->user; + return $this->iterator; } - public function setUser(?UserIdJsonld $user): self + public function setIterator(?TraversableJsonld $iterator): self { - $this->user = $user; + $this->iterator = $iterator; return $this; } diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php new file mode 100644 index 00000000..61bbd8b3 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php @@ -0,0 +1,56 @@ +variables; + } + + /** + * @param VariableFromConstantInput[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php new file mode 100644 index 00000000..caac2227 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php @@ -0,0 +1,104 @@ +context; + } + + public function setContext(mixed $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 VariableFromConstantInputJsonld[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromConstantInputJsonld[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + 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/EnvironmentAddMultipleVariableFromSecretInput.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php new file mode 100644 index 00000000..cfe18a61 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php @@ -0,0 +1,56 @@ +variables; + } + + /** + * @param VariableFromSecretInput[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php new file mode 100644 index 00000000..072d4117 --- /dev/null +++ b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php @@ -0,0 +1,104 @@ +context; + } + + public function setContext(mixed $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 VariableFromSecretInputJsonld[]|null + */ + public function getVariables(): ?array + { + return $this->variables; + } + + /** + * @param VariableFromSecretInputJsonld[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + 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/EnvironmentConfigMapIdPutPutResponse200.php b/src/Model/EnvironmentConfigurationsGetResponse200.php similarity index 67% rename from src/Model/EnvironmentConfigMapIdPutPutResponse200.php rename to src/Model/EnvironmentConfigurationsGetResponse200.php index d6fd35a8..01a6d7db 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200.php +++ b/src/Model/EnvironmentConfigurationsGetResponse200.php @@ -10,10 +10,10 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapIdPutPutResponse200 +class EnvironmentConfigurationsGetResponse200 { /** - * @var ConfigMapJsonld[]|null + * @var ConfigurationJsonld[]|null */ protected $hydraMember; /** @@ -21,16 +21,16 @@ class EnvironmentConfigMapIdPutPutResponse200 */ protected $hydraTotalItems; /** - * @var EnvironmentConfigMapIdPutPutResponse200HydraView|null + * @var EnvironmentConfigurationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentConfigMapIdPutPutResponse200HydraSearch|null + * @var EnvironmentConfigurationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ConfigMapJsonld[]|null + * @return ConfigurationJsonld[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param ConfigMapJsonld[]|null $hydraMember + * @param ConfigurationJsonld[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -59,24 +59,24 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?EnvironmentConfigMapIdPutPutResponse200HydraView + public function getHydraView(): ?EnvironmentConfigurationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(?EnvironmentConfigMapIdPutPutResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentConfigurationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ?EnvironmentConfigMapIdPutPutResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentConfigurationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?EnvironmentConfigMapIdPutPutResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentConfigurationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentConfigurationsGetResponse200HydraSearch.php similarity index 86% rename from src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php rename to src/Model/EnvironmentConfigurationsGetResponse200HydraSearch.php index 210d5f54..3b22dfac 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php +++ b/src/Model/EnvironmentConfigurationsGetResponse200HydraSearch.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapIdPutPutResponse200HydraSearch +class EnvironmentConfigurationsGetResponse200HydraSearch { /** * @var string|null @@ -25,7 +25,7 @@ class EnvironmentConfigMapIdPutPutResponse200HydraSearch */ protected $hydraVariableRepresentation; /** - * @var EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null + * @var EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -66,7 +66,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null + * @return EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -74,7 +74,7 @@ public function getHydraMapping(): ?array } /** - * @param EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem.php similarity index 95% rename from src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php rename to src/Model/EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem.php index 4fcff589..75935359 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem +class EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem { /** * @var string|null diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php b/src/Model/EnvironmentConfigurationsGetResponse200HydraView.php similarity index 97% rename from src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php rename to src/Model/EnvironmentConfigurationsGetResponse200HydraView.php index 3587fc10..c2316b8e 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php +++ b/src/Model/EnvironmentConfigurationsGetResponse200HydraView.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapIdPutPutResponse200HydraView +class EnvironmentConfigurationsGetResponse200HydraView { /** * @var string|null diff --git a/src/Model/EnvironmentCreateEnvironmentInput.php b/src/Model/EnvironmentCreateEnvironmentInput.php new file mode 100644 index 00000000..95074061 --- /dev/null +++ b/src/Model/EnvironmentCreateEnvironmentInput.php @@ -0,0 +1,88 @@ +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 getVariables(): ?array + { + return $this->variables; + } + + /** + * @param string[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/EnvironmentCreateEnvironmentInputJsonld.php b/src/Model/EnvironmentCreateEnvironmentInputJsonld.php new file mode 100644 index 00000000..2f100eac --- /dev/null +++ b/src/Model/EnvironmentCreateEnvironmentInputJsonld.php @@ -0,0 +1,136 @@ +context; + } + + public function setContext(mixed $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 getVariables(): ?array + { + return $this->variables; + } + + /** + * @param string[]|null $variables + */ + public function setVariables(?array $variables): self + { + $this->variables = $variables; + + 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/EnvironmentEnvironmentsGetResponse200.php b/src/Model/EnvironmentEnvironmentsGetResponse200.php index 041a5986..82fae45f 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200.php @@ -13,7 +13,7 @@ class EnvironmentEnvironmentsGetResponse200 { /** - * @var EnvironmentJsonld[]|null + * @var EnvironmentJsonldRead[]|null */ protected $hydraMember; /** @@ -30,7 +30,7 @@ class EnvironmentEnvironmentsGetResponse200 protected $hydraSearch; /** - * @return EnvironmentJsonld[]|null + * @return EnvironmentJsonldRead[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param EnvironmentJsonld[]|null $hydraMember + * @param EnvironmentJsonldRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200.php similarity index 59% rename from src/Model/EnvironmentVariableFromSecretsGetResponse200.php rename to src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200.php index bc2c4693..b8992206 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php +++ b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200.php @@ -10,10 +10,10 @@ namespace Gyroscops\Api\Model; -class EnvironmentVariableFromSecretsGetResponse200 +class EnvironmentEnvironmentsIdVariablesGetResponse200 { /** - * @var VariableFromSecretJsonld[]|null + * @var VariableJsonldRead[]|null */ protected $hydraMember; /** @@ -21,16 +21,16 @@ class EnvironmentVariableFromSecretsGetResponse200 */ protected $hydraTotalItems; /** - * @var EnvironmentVariableFromSecretsGetResponse200HydraView|null + * @var EnvironmentEnvironmentsIdVariablesGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentVariableFromSecretsGetResponse200HydraSearch|null + * @var EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return VariableFromSecretJsonld[]|null + * @return VariableJsonldRead[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param VariableFromSecretJsonld[]|null $hydraMember + * @param VariableJsonldRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -59,24 +59,24 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?EnvironmentVariableFromSecretsGetResponse200HydraView + public function getHydraView(): ?EnvironmentEnvironmentsIdVariablesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(?EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentEnvironmentsIdVariablesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ?EnvironmentVariableFromSecretsGetResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch.php similarity index 79% rename from src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php rename to src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch.php index e3ebac24..df879a83 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentVariableFromConfigMapsGetResponse200HydraSearch +class EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch { /** * @var string|null @@ -25,7 +25,7 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraSearch */ protected $hydraVariableRepresentation; /** - * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null + * @var EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -66,7 +66,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null + * @return EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -74,7 +74,7 @@ public function getHydraMapping(): ?array } /** - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem.php similarity index 93% rename from src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php rename to src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem.php index b2db32b6..63104397 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem +class EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem { /** * @var string|null diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraView.php similarity index 96% rename from src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php rename to src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraView.php index 3065d19f..fdd65564 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php +++ b/src/Model/EnvironmentEnvironmentsIdVariablesGetResponse200HydraView.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentVariableFromConfigMapsGetResponse200HydraView +class EnvironmentEnvironmentsIdVariablesGetResponse200HydraView { /** * @var string|null diff --git a/src/Model/ConfigMapJsonld.php b/src/Model/EnvironmentJsonldRead.php similarity index 84% rename from src/Model/ConfigMapJsonld.php rename to src/Model/EnvironmentJsonldRead.php index 37202292..ce55616d 100644 --- a/src/Model/ConfigMapJsonld.php +++ b/src/Model/EnvironmentJsonldRead.php @@ -10,8 +10,12 @@ namespace Gyroscops\Api\Model; -class ConfigMapJsonld +class EnvironmentJsonldRead { + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -20,10 +24,6 @@ class ConfigMapJsonld * @var string|null */ protected $type; - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -44,10 +44,21 @@ class ConfigMapJsonld * @var string|null */ protected $workspace; + /** - * @var TraversableJsonld|null + * @return mixed */ - protected $iterator; + public function getContext() + { + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; + } public function getId(): ?string { @@ -73,24 +84,6 @@ public function setType(?string $type): self 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; @@ -150,16 +143,4 @@ public function setWorkspace(?string $workspace): self 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/EnvironmentJsonldWrite.php b/src/Model/EnvironmentJsonldWrite.php new file mode 100644 index 00000000..a4cfb558 --- /dev/null +++ b/src/Model/EnvironmentJsonldWrite.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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; + } +} diff --git a/src/Model/ConfigMap.php b/src/Model/EnvironmentRead.php similarity index 81% rename from src/Model/ConfigMap.php rename to src/Model/EnvironmentRead.php index 3cf3a065..40fcbf27 100644 --- a/src/Model/ConfigMap.php +++ b/src/Model/EnvironmentRead.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ConfigMap +class EnvironmentRead { /** * @var string|null @@ -32,10 +32,6 @@ class ConfigMap * @var string|null */ protected $workspace; - /** - * @var mixed|null - */ - protected $iterator; public function getId(): ?string { @@ -96,22 +92,4 @@ public function setWorkspace(?string $workspace): self 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/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php deleted file mode 100644 index 23158b9a..00000000 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php +++ /dev/null @@ -1,85 +0,0 @@ -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 EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index 946c0416..00000000 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,79 +0,0 @@ -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/EnvironmentVariableFromSecretsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php deleted file mode 100644 index 31c1e830..00000000 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php +++ /dev/null @@ -1,111 +0,0 @@ -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/SecretInput.php b/src/Model/EnvironmentWrite.php similarity index 63% rename from src/Model/SecretInput.php rename to src/Model/EnvironmentWrite.php index 95e47d61..27abf78f 100644 --- a/src/Model/SecretInput.php +++ b/src/Model/EnvironmentWrite.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class SecretInput +class EnvironmentWrite { /** * @var string|null @@ -20,10 +20,6 @@ class SecretInput * @var string|null */ protected $description; - /** - * @var string[]|null - */ - protected $contents; public function getName(): ?string { @@ -48,22 +44,4 @@ public function setDescription(?string $description): self 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/ExecutionFinishPipelineExecutionCommandInput.php b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php deleted file mode 100644 index 26b69b96..00000000 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php +++ /dev/null @@ -1,31 +0,0 @@ -execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } -} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php index 6a880ee6..dc48f836 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php @@ -24,10 +24,6 @@ class ExecutionFinishPipelineExecutionCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $execution; /** * @return mixed @@ -37,10 +33,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -70,16 +63,4 @@ public function setType(?string $type): self return $this; } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } } diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php deleted file mode 100644 index 0a8c6e62..00000000 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php +++ /dev/null @@ -1,31 +0,0 @@ -execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } -} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php index ce89aa35..293ca535 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php @@ -24,10 +24,6 @@ class ExecutionInterruptPipelineExecutionCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $execution; /** * @return mixed @@ -37,10 +33,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -70,16 +63,4 @@ public function setType(?string $type): self return $this; } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } } diff --git a/src/Model/ExecutionJsonldRead.php b/src/Model/ExecutionJsonldRead.php index 1322aef7..5fe7ed03 100644 --- a/src/Model/ExecutionJsonldRead.php +++ b/src/Model/ExecutionJsonldRead.php @@ -72,18 +72,6 @@ class ExecutionJsonldRead * @var string|null */ protected $reason; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $workflow; - /** - * @var mixed|null - */ - protected $action; public function getId(): ?string { @@ -117,10 +105,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -270,46 +255,4 @@ public function setReason(?string $reason): self return $this; } - - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getWorkflow(): ?string - { - return $this->workflow; - } - - public function setWorkflow(?string $workflow): self - { - $this->workflow = $workflow; - - return $this; - } - - /** - * @return mixed - */ - public function getAction() - { - return $this->action; - } - - /** - * @param mixed $action - */ - public function setAction($action): self - { - $this->action = $action; - - return $this; - } } diff --git a/src/Model/ExecutionPipelineJsonld.php b/src/Model/ExecutionPipelineJsonld.php index f8449b5f..7e92e99d 100644 --- a/src/Model/ExecutionPipelineJsonld.php +++ b/src/Model/ExecutionPipelineJsonld.php @@ -12,10 +12,6 @@ class ExecutionPipelineJsonld { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class ExecutionPipelineJsonld * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -37,24 +37,6 @@ class ExecutionPipelineJsonld */ protected $steps; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -79,6 +61,21 @@ public function setType(?string $type): self return $this; } + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; + } + public function getExecution(): ?string { return $this->execution; diff --git a/src/Model/ExecutionPipelineStepJsonld.php b/src/Model/ExecutionPipelineStepJsonld.php index d49a381b..1f319438 100644 --- a/src/Model/ExecutionPipelineStepJsonld.php +++ b/src/Model/ExecutionPipelineStepJsonld.php @@ -12,10 +12,6 @@ class ExecutionPipelineStepJsonld { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class ExecutionPipelineStepJsonld * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -37,24 +37,6 @@ class ExecutionPipelineStepJsonld */ protected $metrics; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -79,6 +61,21 @@ public function setType(?string $type): self return $this; } + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; + } + public function getId2(): ?string { return $this->id2; diff --git a/src/Model/ExecutionRead.php b/src/Model/ExecutionRead.php index 55a393f0..2796549b 100644 --- a/src/Model/ExecutionRead.php +++ b/src/Model/ExecutionRead.php @@ -60,18 +60,6 @@ class ExecutionRead * @var string|null */ protected $reason; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $workflow; - /** - * @var mixed|null - */ - protected $action; public function getId(): ?string { @@ -216,46 +204,4 @@ public function setReason(?string $reason): self return $this; } - - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getWorkflow(): ?string - { - return $this->workflow; - } - - public function setWorkflow(?string $workflow): self - { - $this->workflow = $workflow; - - return $this; - } - - /** - * @return mixed - */ - public function getAction() - { - return $this->action; - } - - /** - * @param mixed $action - */ - public function setAction($action): self - { - $this->action = $action; - - return $this; - } } diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInput.php b/src/Model/ExecutionResumePipelineExecutionCommandInput.php deleted file mode 100644 index fad7af72..00000000 --- a/src/Model/ExecutionResumePipelineExecutionCommandInput.php +++ /dev/null @@ -1,31 +0,0 @@ -execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } -} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php index 84228c2d..02bf7863 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php @@ -24,10 +24,6 @@ class ExecutionResumePipelineExecutionCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $execution; /** * @return mixed @@ -37,10 +33,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -70,16 +63,4 @@ public function setType(?string $type): self return $this; } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } } diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInput.php b/src/Model/ExecutionStartPipelineExecutionCommandInput.php deleted file mode 100644 index cd9452ce..00000000 --- a/src/Model/ExecutionStartPipelineExecutionCommandInput.php +++ /dev/null @@ -1,31 +0,0 @@ -execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } -} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php index 169a3f10..b582f4fb 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php @@ -24,10 +24,6 @@ class ExecutionStartPipelineExecutionCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $execution; /** * @return mixed @@ -37,10 +33,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -70,16 +63,4 @@ public function setType(?string $type): self return $this; } - - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } } diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php index 23564cb4..2219e095 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php @@ -12,27 +12,11 @@ class ExecutionTerminatePipelineExecutionCommandInput { - /** - * @var string|null - */ - protected $execution; /** * @var string|null */ protected $reason; - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } - public function getReason(): ?string { return $this->reason; diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php index e379668c..fa78e809 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php @@ -24,10 +24,6 @@ class ExecutionTerminatePipelineExecutionCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $execution; /** * @var string|null */ @@ -41,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -75,18 +68,6 @@ public function setType(?string $type): self return $this; } - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } - public function getReason(): ?string { return $this->reason; diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php index fd30c357..f3c1a6c0 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php @@ -12,27 +12,11 @@ class ExecutionUpdatePipelineExecutionStateCommandInput { - /** - * @var string|null - */ - protected $execution; /** * @var UpdateList|null */ protected $stepsUpdates; - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } - public function getStepsUpdates(): ?UpdateList { return $this->stepsUpdates; diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php index 845318dc..fd26866e 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php @@ -24,10 +24,6 @@ class ExecutionUpdatePipelineExecutionStateCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $execution; /** * @var UpdateListJsonld|null */ @@ -41,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -75,18 +68,6 @@ public function setType(?string $type): self return $this; } - public function getExecution(): ?string - { - return $this->execution; - } - - public function setExecution(?string $execution): self - { - $this->execution = $execution; - - return $this; - } - public function getStepsUpdates(): ?UpdateListJsonld { return $this->stepsUpdates; diff --git a/src/Model/ExecutionWorkflowJsonld.php b/src/Model/ExecutionWorkflowJsonld.php index 4f05155f..708cb51d 100644 --- a/src/Model/ExecutionWorkflowJsonld.php +++ b/src/Model/ExecutionWorkflowJsonld.php @@ -12,10 +12,6 @@ class ExecutionWorkflowJsonld { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class ExecutionWorkflowJsonld * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -37,24 +37,6 @@ class ExecutionWorkflowJsonld */ protected $execution; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -79,6 +61,21 @@ public function setType(?string $type): self return $this; } + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; + } + public function getId2(): ?string { return $this->id2; diff --git a/src/Model/ScheduleIdJsonld.php b/src/Model/OrganizationIdJsonld.php similarity index 88% rename from src/Model/ScheduleIdJsonld.php rename to src/Model/OrganizationIdJsonld.php index cf8b7245..9498c72b 100644 --- a/src/Model/ScheduleIdJsonld.php +++ b/src/Model/OrganizationIdJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ScheduleIdJsonld +class OrganizationIdJsonld { /** * @var mixed|null @@ -33,10 +33,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInput.php b/src/Model/PipelineAddAfterPipelineStepCommandInput.php index 1d6c037e..06f2d023 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInput.php @@ -12,14 +12,6 @@ class PipelineAddAfterPipelineStepCommandInput { - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $previous; /** * @var string|null */ @@ -37,30 +29,6 @@ class PipelineAddAfterPipelineStepCommandInput */ protected $probes; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getPrevious(): ?string - { - return $this->previous; - } - - public function setPrevious(?string $previous): self - { - $this->previous = $previous; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php index ddccb628..b6364164 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php @@ -24,14 +24,6 @@ class PipelineAddAfterPipelineStepCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $previous; /** * @var string|null */ @@ -57,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -91,30 +80,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getPrevious(): ?string - { - return $this->previous; - } - - public function setPrevious(?string $previous): self - { - $this->previous = $previous; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInput.php b/src/Model/PipelineAddBeforePipelineStepCommandInput.php index ce5cb5c9..10aaedd3 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInput.php @@ -12,14 +12,6 @@ class PipelineAddBeforePipelineStepCommandInput { - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $next; /** * @var string|null */ @@ -37,30 +29,6 @@ class PipelineAddBeforePipelineStepCommandInput */ protected $probes; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getNext(): ?string - { - return $this->next; - } - - public function setNext(?string $next): self - { - $this->next = $next; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php index 829877d4..ebaa5d86 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php @@ -24,14 +24,6 @@ class PipelineAddBeforePipelineStepCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $next; /** * @var string|null */ @@ -57,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -91,30 +80,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getNext(): ?string - { - return $this->next; - } - - public function setNext(?string $next): self - { - $this->next = $next; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandInput.php b/src/Model/PipelineAddPipelineComposerAuthCommandInput.php new file mode 100644 index 00000000..ecc335b7 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerAuthCommandInput.php @@ -0,0 +1,47 @@ +url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + 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/PipelineAddPipelineComposerAuthCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonld.php new file mode 100644 index 00000000..570872ad --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerAuthCommandInputJsonld.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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; + } + + public function getToken(): ?string + { + return $this->token; + } + + public function setToken(?string $token): self + { + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php new file mode 100644 index 00000000..1d61b2a8 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php index 03392529..062a4f6a 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php @@ -12,10 +12,6 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInput { - /** - * @var string|null - */ - protected $pipeline; /** * @var string|null */ @@ -25,18 +21,6 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInput */ protected $paths; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - public function getNamespace(): ?string { return $this->namespace; diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php index 4564622d..7f379b6f 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php @@ -24,10 +24,6 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; /** * @var string|null */ @@ -45,10 +41,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,18 +72,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - public function getNamespace(): ?string { return $this->namespace; diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandInput.php b/src/Model/PipelineAddPipelineComposerPackageCommandInput.php new file mode 100644 index 00000000..168a998f --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPackageCommandInput.php @@ -0,0 +1,47 @@ +package; + } + + public function setPackage(?string $package): self + { + $this->package = $package; + + return $this; + } + + public function getVersion(): ?string + { + return $this->version; + } + + public function setVersion(?string $version): self + { + $this->version = $version; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php new file mode 100644 index 00000000..8d704ebf --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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 getPackage(): ?string + { + return $this->package; + } + + public function setPackage(?string $package): self + { + $this->package = $package; + + return $this; + } + + public function getVersion(): ?string + { + return $this->version; + } + + public function setVersion(?string $version): self + { + $this->version = $version; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php new file mode 100644 index 00000000..fd8fcfcd --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineAddPipelineComposerRepositoryCommandInput.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandInput.php new file mode 100644 index 00000000..9e009f37 --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerRepositoryCommandInput.php @@ -0,0 +1,63 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + 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; + } +} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php new file mode 100644 index 00000000..d97a615a --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php @@ -0,0 +1,114 @@ +context; + } + + public function setContext(mixed $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 getType2(): ?string + { + return $this->type2; + } + + public function setType2(?string $type2): self + { + $this->type2 = $type2; + + return $this; + } + + public function getUrl(): ?string + { + return $this->url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } +} diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php new file mode 100644 index 00000000..6294f7cf --- /dev/null +++ b/src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineAddPipelineStepProbCommandInput.php b/src/Model/PipelineAddPipelineStepProbCommandInput.php index 640e1fc7..89c98345 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInput.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInput.php @@ -12,43 +12,11 @@ class PipelineAddPipelineStepProbCommandInput { - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $code; /** * @var Probe|null */ protected $probe; - public function getId(): ?string - { - return $this->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 getProbe(): ?Probe { return $this->probe; diff --git a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php index 571cf2b7..e83ea685 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php @@ -24,14 +24,6 @@ class PipelineAddPipelineStepProbCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $id2; - /** - * @var string|null - */ - protected $code; /** * @var ProbeJsonld|null */ @@ -45,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,30 +68,6 @@ public function setType(?string $type): self 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 getProbe(): ?ProbeJsonld { return $this->probe; diff --git a/src/Model/PipelineAppendPipelineStepCommandInput.php b/src/Model/PipelineAppendPipelineStepCommandInput.php index 9c81ded2..82653cb7 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInput.php +++ b/src/Model/PipelineAppendPipelineStepCommandInput.php @@ -12,10 +12,6 @@ class PipelineAppendPipelineStepCommandInput { - /** - * @var string|null - */ - protected $pipeline; /** * @var string|null */ @@ -33,18 +29,6 @@ class PipelineAppendPipelineStepCommandInput */ protected $probes; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php index c66a5201..2f5b3c6d 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php @@ -24,10 +24,6 @@ class PipelineAppendPipelineStepCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; /** * @var string|null */ @@ -53,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -87,18 +80,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineDeclarePipelineCommandInput.php b/src/Model/PipelineDeclarePipelineCommandInput.php index 4688c87d..411377f1 100644 --- a/src/Model/PipelineDeclarePipelineCommandInput.php +++ b/src/Model/PipelineDeclarePipelineCommandInput.php @@ -20,14 +20,6 @@ class PipelineDeclarePipelineCommandInput * @var string|null */ protected $code; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string|null - */ - protected $organization; /** * @var StepInput[]|null */ @@ -36,6 +28,18 @@ class PipelineDeclarePipelineCommandInput * @var AutoloadInput[]|null */ protected $autoloads; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var AddPipelineComposerRepositoryCommandInput[]|null + */ + protected $repositories; + /** + * @var AddPipelineComposerAuthCommandInput[]|null + */ + protected $auths; public function getLabel(): ?string { @@ -61,62 +65,92 @@ public function setCode(?string $code): self return $this; } - public function getWorkspace(): ?string + /** + * @return StepInput[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param StepInput[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->steps = $steps; + + return $this; + } + + /** + * @return AutoloadInput[]|null + */ + public function getAutoloads(): ?array { - return $this->workspace; + return $this->autoloads; } - public function setWorkspace(?string $workspace): self + /** + * @param AutoloadInput[]|null $autoloads + */ + public function setAutoloads(?array $autoloads): self { - $this->workspace = $workspace; + $this->autoloads = $autoloads; return $this; } - public function getOrganization(): ?string + /** + * @return string[]|null + */ + public function getPackages(): ?iterable { - return $this->organization; + return $this->packages; } - public function setOrganization(?string $organization): self + /** + * @param string[]|null $packages + */ + public function setPackages(?iterable $packages): self { - $this->organization = $organization; + $this->packages = $packages; return $this; } /** - * @return StepInput[]|null + * @return AddPipelineComposerRepositoryCommandInput[]|null */ - public function getSteps(): ?array + public function getRepositories(): ?array { - return $this->steps; + return $this->repositories; } /** - * @param StepInput[]|null $steps + * @param AddPipelineComposerRepositoryCommandInput[]|null $repositories */ - public function setSteps(?array $steps): self + public function setRepositories(?array $repositories): self { - $this->steps = $steps; + $this->repositories = $repositories; return $this; } /** - * @return AutoloadInput[]|null + * @return AddPipelineComposerAuthCommandInput[]|null */ - public function getAutoloads(): ?array + public function getAuths(): ?array { - return $this->autoloads; + return $this->auths; } /** - * @param AutoloadInput[]|null $autoloads + * @param AddPipelineComposerAuthCommandInput[]|null $auths */ - public function setAutoloads(?array $autoloads): self + public function setAuths(?array $auths): self { - $this->autoloads = $autoloads; + $this->auths = $auths; return $this; } diff --git a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php index 9563bec3..94277fcc 100644 --- a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php +++ b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php @@ -32,14 +32,6 @@ class PipelineDeclarePipelineCommandInputJsonld * @var string|null */ protected $code; - /** - * @var string|null - */ - protected $workspace; - /** - * @var string|null - */ - protected $organization; /** * @var StepInputJsonld[]|null */ @@ -48,6 +40,18 @@ class PipelineDeclarePipelineCommandInputJsonld * @var AutoloadInputJsonld[]|null */ protected $autoloads; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var AddPipelineComposerRepositoryCommandInputJsonld[]|null + */ + protected $repositories; + /** + * @var AddPipelineComposerAuthCommandInputJsonld[]|null + */ + protected $auths; /** * @return mixed @@ -57,10 +61,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -115,62 +116,92 @@ public function setCode(?string $code): self return $this; } - public function getWorkspace(): ?string + /** + * @return StepInputJsonld[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param StepInputJsonld[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->steps = $steps; + + return $this; + } + + /** + * @return AutoloadInputJsonld[]|null + */ + public function getAutoloads(): ?array { - return $this->workspace; + return $this->autoloads; } - public function setWorkspace(?string $workspace): self + /** + * @param AutoloadInputJsonld[]|null $autoloads + */ + public function setAutoloads(?array $autoloads): self { - $this->workspace = $workspace; + $this->autoloads = $autoloads; return $this; } - public function getOrganization(): ?string + /** + * @return string[]|null + */ + public function getPackages(): ?iterable { - return $this->organization; + return $this->packages; } - public function setOrganization(?string $organization): self + /** + * @param string[]|null $packages + */ + public function setPackages(?iterable $packages): self { - $this->organization = $organization; + $this->packages = $packages; return $this; } /** - * @return StepInputJsonld[]|null + * @return AddPipelineComposerRepositoryCommandInputJsonld[]|null */ - public function getSteps(): ?array + public function getRepositories(): ?array { - return $this->steps; + return $this->repositories; } /** - * @param StepInputJsonld[]|null $steps + * @param AddPipelineComposerRepositoryCommandInputJsonld[]|null $repositories */ - public function setSteps(?array $steps): self + public function setRepositories(?array $repositories): self { - $this->steps = $steps; + $this->repositories = $repositories; return $this; } /** - * @return AutoloadInputJsonld[]|null + * @return AddPipelineComposerAuthCommandInputJsonld[]|null */ - public function getAutoloads(): ?array + public function getAuths(): ?array { - return $this->autoloads; + return $this->auths; } /** - * @param AutoloadInputJsonld[]|null $autoloads + * @param AddPipelineComposerAuthCommandInputJsonld[]|null $auths */ - public function setAutoloads(?array $autoloads): self + public function setAuths(?array $auths): self { - $this->autoloads = $autoloads; + $this->auths = $auths; return $this; } diff --git a/src/Model/PipelineJsonldRead.php b/src/Model/PipelineJsonldRead.php index 284c72cf..c3aa8c93 100644 --- a/src/Model/PipelineJsonldRead.php +++ b/src/Model/PipelineJsonldRead.php @@ -12,10 +12,6 @@ class PipelineJsonldRead { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class PipelineJsonldRead * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var bool|null */ @@ -32,10 +32,6 @@ class PipelineJsonldRead * @var \DateTime|null */ protected $compiledAt; - /** - * @var string[]|null - */ - protected $steps; /** * @var string|null */ @@ -60,24 +56,22 @@ class PipelineJsonldRead * @var string[]|null */ protected $autoload; - /** - * @return mixed + * @var string[]|null */ - public function getContext() - { - return $this->context; - } - + protected $packages; /** - * @param mixed $context + * @var string[]|null */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; + /** + * @var string[]|null + */ + protected $steps; public function getId(): ?string { @@ -103,44 +97,41 @@ public function setType(?string $type): self return $this; } - public function getIsSoftDeleted(): ?bool + /** + * @return mixed + */ + public function getContext() { - return $this->isSoftDeleted; + return $this->context; } - public function setIsSoftDeleted(?bool $isSoftDeleted): self + public function setContext(mixed $context): self { - $this->isSoftDeleted = $isSoftDeleted; + $this->context = $context; return $this; } - public function getCompiledAt(): ?\DateTime + public function getIsSoftDeleted(): ?bool { - return $this->compiledAt; + return $this->isSoftDeleted; } - public function setCompiledAt(?\DateTime $compiledAt): self + public function setIsSoftDeleted(?bool $isSoftDeleted): self { - $this->compiledAt = $compiledAt; + $this->isSoftDeleted = $isSoftDeleted; return $this; } - /** - * @return string[]|null - */ - public function getSteps(): ?array + public function getCompiledAt(): ?\DateTime { - return $this->steps; + return $this->compiledAt; } - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self + public function setCompiledAt(?\DateTime $compiledAt): self { - $this->steps = $steps; + $this->compiledAt = $compiledAt; return $this; } @@ -228,4 +219,76 @@ public function setAutoload(?array $autoload): self return $this; } + + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->steps = $steps; + + return $this; + } } diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php index 6533c9dc..1d0ec579 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php @@ -12,43 +12,11 @@ class PipelineMoveAfterPipelineStepCommandInput { - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $previous; /** * @var string|null */ protected $code; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getPrevious(): ?string - { - return $this->previous; - } - - public function setPrevious(?string $previous): self - { - $this->previous = $previous; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php index ec4efee3..3bc148c3 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php @@ -24,14 +24,6 @@ class PipelineMoveAfterPipelineStepCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $previous; /** * @var string|null */ @@ -45,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,30 +68,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getPrevious(): ?string - { - return $this->previous; - } - - public function setPrevious(?string $previous): self - { - $this->previous = $previous; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php index 87850567..5e06b645 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php @@ -12,43 +12,11 @@ class PipelineMoveBeforePipelineStepCommandInput { - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $next; /** * @var string|null */ protected $code; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getNext(): ?string - { - return $this->next; - } - - public function setNext(?string $next): self - { - $this->next = $next; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php index 709bf817..059e27ee 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php @@ -24,14 +24,6 @@ class PipelineMoveBeforePipelineStepCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $next; /** * @var string|null */ @@ -45,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,30 +68,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getNext(): ?string - { - return $this->next; - } - - public function setNext(?string $next): self - { - $this->next = $next; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineRead.php b/src/Model/PipelineRead.php index f4b343ff..8744ce74 100644 --- a/src/Model/PipelineRead.php +++ b/src/Model/PipelineRead.php @@ -20,10 +20,6 @@ class PipelineRead * @var \DateTime|null */ protected $compiledAt; - /** - * @var string[]|null - */ - protected $steps; /** * @var string|null */ @@ -48,6 +44,22 @@ class PipelineRead * @var string[]|null */ protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; + /** + * @var string[]|null + */ + protected $steps; public function getIsSoftDeleted(): ?bool { @@ -73,24 +85,6 @@ public function setCompiledAt(?\DateTime $compiledAt): self return $this; } - /** - * @return string[]|null - */ - public function getSteps(): ?array - { - return $this->steps; - } - - /** - * @param string[]|null $steps - */ - public function setSteps(?array $steps): self - { - $this->steps = $steps; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -174,4 +168,76 @@ public function setAutoload(?array $autoload): self return $this; } + + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + + /** + * @return string[]|null + */ + public function getSteps(): ?array + { + return $this->steps; + } + + /** + * @param string[]|null $steps + */ + public function setSteps(?array $steps): self + { + $this->steps = $steps; + + return $this; + } } diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandInput.php b/src/Model/PipelineRemovePipelineComposerAuthCommandInput.php new file mode 100644 index 00000000..dabfd89f --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerAuthCommandInput.php @@ -0,0 +1,31 @@ +url; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php new file mode 100644 index 00000000..17e8b925 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php @@ -0,0 +1,82 @@ +context; + } + + public function setContext(mixed $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; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php new file mode 100644 index 00000000..85d5c1e0 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php new file mode 100644 index 00000000..838175a5 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php @@ -0,0 +1,31 @@ +namespace; + } + + public function setNamespace(?string $namespace): self + { + $this->namespace = $namespace; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php new file mode 100644 index 00000000..63da3731 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php @@ -0,0 +1,82 @@ +context; + } + + public function setContext(mixed $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 getNamespace(): ?string + { + return $this->namespace; + } + + public function setNamespace(?string $namespace): self + { + $this->namespace = $namespace; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php new file mode 100644 index 00000000..bf7ea318 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineRemovePipelineComposerPackageCommandInput.php b/src/Model/PipelineRemovePipelineComposerPackageCommandInput.php new file mode 100644 index 00000000..6e047235 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPackageCommandInput.php @@ -0,0 +1,31 @@ +package; + } + + public function setPackage(?string $package): self + { + $this->package = $package; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php new file mode 100644 index 00000000..d53046a4 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php @@ -0,0 +1,82 @@ +context; + } + + public function setContext(mixed $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 getPackage(): ?string + { + return $this->package; + } + + public function setPackage(?string $package): self + { + $this->package = $package; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php new file mode 100644 index 00000000..f1de826b --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineRemovePipelineComposerRepositoryCommandInput.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInput.php new file mode 100644 index 00000000..f62188a5 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInput.php @@ -0,0 +1,31 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php new file mode 100644 index 00000000..743e27c2 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php @@ -0,0 +1,82 @@ +context; + } + + public function setContext(mixed $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; + } +} diff --git a/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php b/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php new file mode 100644 index 00000000..f2084b82 --- /dev/null +++ b/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/PipelineReorderPipelineStepsCommandInput.php b/src/Model/PipelineReorderPipelineStepsCommandInput.php index ab911d22..1cf0a5da 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInput.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInput.php @@ -12,27 +12,11 @@ class PipelineReorderPipelineStepsCommandInput { - /** - * @var string|null - */ - protected $pipeline; /** * @var string[]|null */ protected $codes; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - /** * @return string[]|null */ diff --git a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php index 09ef4327..5ade501f 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php @@ -24,10 +24,6 @@ class PipelineReorderPipelineStepsCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; /** * @var string[]|null */ @@ -41,10 +37,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -75,18 +68,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - /** * @return string[]|null */ diff --git a/src/Model/PipelineReplacePipelineStepCommandInput.php b/src/Model/PipelineReplacePipelineStepCommandInput.php index a4e010b3..9130d5dd 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInput.php +++ b/src/Model/PipelineReplacePipelineStepCommandInput.php @@ -12,14 +12,6 @@ class PipelineReplacePipelineStepCommandInput { - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $former; /** * @var string|null */ @@ -37,30 +29,6 @@ class PipelineReplacePipelineStepCommandInput */ protected $probes; - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getFormer(): ?string - { - return $this->former; - } - - public function setFormer(?string $former): self - { - $this->former = $former; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php index 7fc43a5a..66f8d71d 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php @@ -24,14 +24,6 @@ class PipelineReplacePipelineStepCommandInputJsonld * @var string|null */ protected $type; - /** - * @var string|null - */ - protected $pipeline; - /** - * @var string|null - */ - protected $former; /** * @var string|null */ @@ -57,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -91,30 +80,6 @@ public function setType(?string $type): self return $this; } - public function getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getFormer(): ?string - { - return $this->former; - } - - public function setFormer(?string $former): self - { - $this->former = $former; - - return $this; - } - public function getCode(): ?string { return $this->code; diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200.php b/src/Model/RuntimeCompilationsGetResponse200.php similarity index 63% rename from src/Model/EnvironmentSecretIdPutPutResponse200.php rename to src/Model/RuntimeCompilationsGetResponse200.php index 970038ca..e208b64a 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200.php +++ b/src/Model/RuntimeCompilationsGetResponse200.php @@ -10,10 +10,10 @@ namespace Gyroscops\Api\Model; -class EnvironmentSecretIdPutPutResponse200 +class RuntimeCompilationsGetResponse200 { /** - * @var SecretJsonld[]|null + * @var CompilationJsonld[]|null */ protected $hydraMember; /** @@ -21,16 +21,16 @@ class EnvironmentSecretIdPutPutResponse200 */ protected $hydraTotalItems; /** - * @var EnvironmentSecretIdPutPutResponse200HydraView|null + * @var RuntimeCompilationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentSecretIdPutPutResponse200HydraSearch|null + * @var RuntimeCompilationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return SecretJsonld[]|null + * @return CompilationJsonld[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param SecretJsonld[]|null $hydraMember + * @param CompilationJsonld[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -59,24 +59,24 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?EnvironmentSecretIdPutPutResponse200HydraView + public function getHydraView(): ?RuntimeCompilationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(?EnvironmentSecretIdPutPutResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeCompilationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ?EnvironmentSecretIdPutPutResponse200HydraSearch + public function getHydraSearch(): ?RuntimeCompilationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeCompilationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php b/src/Model/RuntimeCompilationsGetResponse200HydraSearch.php similarity index 82% rename from src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php rename to src/Model/RuntimeCompilationsGetResponse200HydraSearch.php index e296e0e9..2c06160d 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php +++ b/src/Model/RuntimeCompilationsGetResponse200HydraSearch.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentSecretIdPutPutResponse200HydraSearch +class RuntimeCompilationsGetResponse200HydraSearch { /** * @var string|null @@ -25,7 +25,7 @@ class EnvironmentSecretIdPutPutResponse200HydraSearch */ protected $hydraVariableRepresentation; /** - * @var EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null + * @var RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -66,7 +66,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null + * @return RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -74,7 +74,7 @@ public function getHydraMapping(): ?array } /** - * @param EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem.php similarity index 94% rename from src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php rename to src/Model/RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem.php index 48529ab9..9ca436d5 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem +class RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem { /** * @var string|null diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php b/src/Model/RuntimeCompilationsGetResponse200HydraView.php similarity index 97% rename from src/Model/EnvironmentConfigMapsGetResponse200HydraView.php rename to src/Model/RuntimeCompilationsGetResponse200HydraView.php index f49400cf..5688a919 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php +++ b/src/Model/RuntimeCompilationsGetResponse200HydraView.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapsGetResponse200HydraView +class RuntimeCompilationsGetResponse200HydraView { /** * @var string|null diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php index d07d9a03..bc58c924 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php @@ -13,7 +13,7 @@ class RuntimePipelineIdCompilationsGetResponse200 { /** - * @var PipelineCompilationJsonld[]|null + * @var CompilationJsonld[]|null */ protected $hydraMember; /** @@ -30,7 +30,7 @@ class RuntimePipelineIdCompilationsGetResponse200 protected $hydraSearch; /** - * @return PipelineCompilationJsonld[]|null + * @return CompilationJsonld[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param PipelineCompilationJsonld[]|null $hydraMember + * @param CompilationJsonld[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200.php b/src/Model/RuntimePipelinesCompilationGetResponse200.php deleted file mode 100644 index 09d5ea05..00000000 --- a/src/Model/RuntimePipelinesCompilationGetResponse200.php +++ /dev/null @@ -1,85 +0,0 @@ -hydraMember; - } - - /** - * @param PipelineCompilationJsonld[]|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(): ?RuntimePipelinesCompilationGetResponse200HydraView - { - return $this->hydraView; - } - - public function setHydraView(?RuntimePipelinesCompilationGetResponse200HydraView $hydraView): self - { - $this->hydraView = $hydraView; - - return $this; - } - - public function getHydraSearch(): ?RuntimePipelinesCompilationGetResponse200HydraSearch - { - return $this->hydraSearch; - } - - public function setHydraSearch(?RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch): self - { - $this->hydraSearch = $hydraSearch; - - return $this; - } -} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php deleted file mode 100644 index 1145e0d7..00000000 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php +++ /dev/null @@ -1,85 +0,0 @@ -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 RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null - */ - public function getHydraMapping(): ?array - { - return $this->hydraMapping; - } - - /** - * @param RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping - */ - public function setHydraMapping(?array $hydraMapping): self - { - $this->hydraMapping = $hydraMapping; - - return $this; - } -} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php deleted file mode 100644 index 45d61353..00000000 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php +++ /dev/null @@ -1,79 +0,0 @@ -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/RuntimePipelinesCompilationGetResponse200HydraView.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php deleted file mode 100644 index 53498be7..00000000 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php +++ /dev/null @@ -1,111 +0,0 @@ -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/RuntimeWorkflowPipelinesGetResponse200.php similarity index 61% rename from src/Model/EnvironmentConfigMapsGetResponse200.php rename to src/Model/RuntimeWorkflowPipelinesGetResponse200.php index e681c152..ec203a0c 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200.php +++ b/src/Model/RuntimeWorkflowPipelinesGetResponse200.php @@ -10,10 +10,10 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapsGetResponse200 +class RuntimeWorkflowPipelinesGetResponse200 { /** - * @var ConfigMapJsonld[]|null + * @var WorkflowJobPipelineJsonld[]|null */ protected $hydraMember; /** @@ -21,16 +21,16 @@ class EnvironmentConfigMapsGetResponse200 */ protected $hydraTotalItems; /** - * @var EnvironmentConfigMapsGetResponse200HydraView|null + * @var RuntimeWorkflowPipelinesGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentConfigMapsGetResponse200HydraSearch|null + * @var RuntimeWorkflowPipelinesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ConfigMapJsonld[]|null + * @return WorkflowJobPipelineJsonld[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param ConfigMapJsonld[]|null $hydraMember + * @param WorkflowJobPipelineJsonld[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -59,24 +59,24 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?EnvironmentConfigMapsGetResponse200HydraView + public function getHydraView(): ?RuntimeWorkflowPipelinesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(?EnvironmentConfigMapsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeWorkflowPipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ?EnvironmentConfigMapsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeWorkflowPipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?EnvironmentConfigMapsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeWorkflowPipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowPipelinesGetResponse200HydraSearch.php similarity index 82% rename from src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php rename to src/Model/RuntimeWorkflowPipelinesGetResponse200HydraSearch.php index 7e34557e..ee5f140a 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowPipelinesGetResponse200HydraSearch.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentConfigMapsGetResponse200HydraSearch +class RuntimeWorkflowPipelinesGetResponse200HydraSearch { /** * @var string|null @@ -25,7 +25,7 @@ class EnvironmentConfigMapsGetResponse200HydraSearch */ protected $hydraVariableRepresentation; /** - * @var EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null + * @var RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -66,7 +66,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null + * @return RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -74,7 +74,7 @@ public function getHydraMapping(): ?array } /** - * @param EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem.php similarity index 94% rename from src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php rename to src/Model/RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem.php index 0629f6c4..db0ace16 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem +class RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem { /** * @var string|null diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php b/src/Model/RuntimeWorkflowPipelinesGetResponse200HydraView.php similarity index 97% rename from src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php rename to src/Model/RuntimeWorkflowPipelinesGetResponse200HydraView.php index 2c48677a..0a3a5090 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowPipelinesGetResponse200HydraView.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class EnvironmentSecretIdPutPutResponse200HydraView +class RuntimeWorkflowPipelinesGetResponse200HydraView { /** * @var string|null diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200.php similarity index 57% rename from src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php rename to src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200.php index c7efbfcf..934c7bd0 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php +++ b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200.php @@ -10,10 +10,10 @@ namespace Gyroscops\Api\Model; -class EnvironmentVariableFromConfigMapsGetResponse200 +class RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200 { /** - * @var VariableFromConfigMapJsonld[]|null + * @var PipelineStepJsonld[]|null */ protected $hydraMember; /** @@ -21,16 +21,16 @@ class EnvironmentVariableFromConfigMapsGetResponse200 */ protected $hydraTotalItems; /** - * @var EnvironmentVariableFromConfigMapsGetResponse200HydraView|null + * @var RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearch|null + * @var RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return VariableFromConfigMapJsonld[]|null + * @return PipelineStepJsonld[]|null */ public function getHydraMember(): ?array { @@ -38,7 +38,7 @@ public function getHydraMember(): ?array } /** - * @param VariableFromConfigMapJsonld[]|null $hydraMember + * @param PipelineStepJsonld[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -59,24 +59,24 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?EnvironmentVariableFromConfigMapsGetResponse200HydraView + public function getHydraView(): ?RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(?EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ?EnvironmentVariableFromConfigMapsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch.php new file mode 100644 index 00000000..75e08471 --- /dev/null +++ b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch.php @@ -0,0 +1,85 @@ +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 RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem[]|null + */ + public function getHydraMapping(): ?array + { + return $this->hydraMapping; + } + + /** + * @param RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + */ + public function setHydraMapping(?array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..ec6bfcd3 --- /dev/null +++ b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,79 @@ +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/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView.php new file mode 100644 index 00000000..bbb7d095 --- /dev/null +++ b/src/Model/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView.php @@ -0,0 +1,111 @@ +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/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleCommandInput.php similarity index 71% rename from src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php rename to src/Model/ScheduleDeclarePipelineScheduleCommandInput.php index 6fa5f35f..58b29001 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleCommandInput.php @@ -10,24 +10,20 @@ namespace Gyroscops\Api\Model; -class ScheduleDeclarePipelineScheduleTimesCommandInputJsonld +class ScheduleDeclarePipelineScheduleCommandInput { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ - protected $id; + protected $pipeline; /** - * @var string|null + * @var int|null */ protected $type; /** - * @var string|null + * @var \DateTime|null */ - protected $pipeline; + protected $date; /** * @var \DateTime|null */ @@ -40,57 +36,43 @@ class ScheduleDeclarePipelineScheduleTimesCommandInputJsonld * @var int|null */ protected $recurrences; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context + * @var \DateTime|null */ - public function setContext($context): self - { - $this->context = $context; + protected $end; - return $this; - } - - public function getId(): ?string + public function getPipeline(): ?string { - return $this->id; + return $this->pipeline; } - public function setId(?string $id): self + public function setPipeline(?string $pipeline): self { - $this->id = $id; + $this->pipeline = $pipeline; return $this; } - public function getType(): ?string + public function getType(): ?int { return $this->type; } - public function setType(?string $type): self + public function setType(?int $type): self { $this->type = $type; return $this; } - public function getPipeline(): ?string + public function getDate(): ?\DateTime { - return $this->pipeline; + return $this->date; } - public function setPipeline(?string $pipeline): self + public function setDate(?\DateTime $date): self { - $this->pipeline = $pipeline; + $this->date = $date; return $this; } @@ -130,4 +112,16 @@ public function setRecurrences(?int $recurrences): self return $this; } + + public function getEnd(): ?\DateTime + { + return $this->end; + } + + public function setEnd(?\DateTime $end): self + { + $this->end = $end; + + return $this; + } } diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleCommandInputJsonld.php similarity index 70% rename from src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php rename to src/Model/ScheduleDeclarePipelineScheduleCommandInputJsonld.php index ad96bb62..903b3fb5 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleCommandInputJsonld.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class ScheduleDeclarePipelineScheduleTimesCommandJsonld +class ScheduleDeclarePipelineScheduleCommandInputJsonld { /** * @var mixed|null @@ -25,13 +25,17 @@ class ScheduleDeclarePipelineScheduleTimesCommandJsonld */ protected $type; /** - * @var ScheduleIdJsonld|null + * @var string|null */ - protected $id2; + protected $pipeline; /** - * @var PipelineIdJsonld|null + * @var int|null */ - protected $pipeline; + protected $type2; + /** + * @var \DateTime|null + */ + protected $date; /** * @var \DateTime|null */ @@ -45,9 +49,9 @@ class ScheduleDeclarePipelineScheduleTimesCommandJsonld */ protected $recurrences; /** - * @var UserIdJsonld|null + * @var \DateTime|null */ - protected $user; + protected $end; /** * @return mixed @@ -57,10 +61,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -91,26 +92,38 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?ScheduleIdJsonld + public function getPipeline(): ?string + { + return $this->pipeline; + } + + public function setPipeline(?string $pipeline): self + { + $this->pipeline = $pipeline; + + return $this; + } + + public function getType2(): ?int { - return $this->id2; + return $this->type2; } - public function setId2(?ScheduleIdJsonld $id2): self + public function setType2(?int $type2): self { - $this->id2 = $id2; + $this->type2 = $type2; return $this; } - public function getPipeline(): ?PipelineIdJsonld + public function getDate(): ?\DateTime { - return $this->pipeline; + return $this->date; } - public function setPipeline(?PipelineIdJsonld $pipeline): self + public function setDate(?\DateTime $date): self { - $this->pipeline = $pipeline; + $this->date = $date; return $this; } @@ -151,14 +164,14 @@ public function setRecurrences(?int $recurrences): self return $this; } - public function getUser(): ?UserIdJsonld + public function getEnd(): ?\DateTime { - return $this->user; + return $this->end; } - public function setUser(?UserIdJsonld $user): self + public function setEnd(?\DateTime $end): self { - $this->user = $user; + $this->end = $end; return $this; } diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php deleted file mode 100644 index d713d46a..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php +++ /dev/null @@ -1,81 +0,0 @@ -id; - } - - /** - * @param mixed $id - */ - public function setId($id): self - { - $this->id = $id; - - return $this; - } - - /** - * @return mixed - */ - public function getPipeline() - { - return $this->pipeline; - } - - /** - * @param mixed $pipeline - */ - public function setPipeline($pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - /** - * @return mixed - */ - public function getUser() - { - return $this->user; - } - - /** - * @param mixed $user - */ - public function setUser($user): self - { - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php deleted file mode 100644 index 868f10ae..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php +++ /dev/null @@ -1,47 +0,0 @@ -pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getOrganization(): ?string - { - return $this->organization; - } - - public function setOrganization(?string $organization): self - { - $this->organization = $organization; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php deleted file mode 100644 index 7c888bd9..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php +++ /dev/null @@ -1,97 +0,0 @@ -id; - } - - /** - * @param mixed $id - */ - public function setId($id): self - { - $this->id = $id; - - return $this; - } - - /** - * @return mixed - */ - public function getPipeline() - { - return $this->pipeline; - } - - /** - * @param mixed $pipeline - */ - public function setPipeline($pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->date = $date; - - return $this; - } - - /** - * @return mixed - */ - public function getUser() - { - return $this->user; - } - - /** - * @param mixed $user - */ - public function setUser($user): self - { - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php deleted file mode 100644 index 9b737607..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php +++ /dev/null @@ -1,133 +0,0 @@ -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(): ?ScheduleIdJsonld - { - return $this->id2; - } - - public function setId2(?ScheduleIdJsonld $id2): self - { - $this->id2 = $id2; - - return $this; - } - - public function getPipeline(): ?PipelineIdJsonld - { - return $this->pipeline; - } - - public function setPipeline(?PipelineIdJsonld $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getDate(): ?\DateTime - { - return $this->date; - } - - public function setDate(?\DateTime $date): self - { - $this->date = $date; - - return $this; - } - - public function getUser(): ?UserIdJsonld - { - return $this->user; - } - - public function setUser(?UserIdJsonld $user): self - { - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php deleted file mode 100644 index 28f288d2..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php +++ /dev/null @@ -1,129 +0,0 @@ -id; - } - - /** - * @param mixed $id - */ - public function setId($id): self - { - $this->id = $id; - - return $this; - } - - /** - * @return mixed - */ - public function getPipeline() - { - return $this->pipeline; - } - - /** - * @param mixed $pipeline - */ - public function setPipeline($pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getStart(): ?\DateTime - { - return $this->start; - } - - public function setStart(?\DateTime $start): self - { - $this->start = $start; - - return $this; - } - - public function getInterval(): ?string - { - return $this->interval; - } - - public function setInterval(?string $interval): self - { - $this->interval = $interval; - - return $this; - } - - public function getRecurrences(): ?int - { - return $this->recurrences; - } - - public function setRecurrences(?int $recurrences): self - { - $this->recurrences = $recurrences; - - return $this; - } - - /** - * @return mixed - */ - public function getUser() - { - return $this->user; - } - - /** - * @param mixed $user - */ - public function setUser($user): self - { - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php deleted file mode 100644 index 64692ae6..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php +++ /dev/null @@ -1,79 +0,0 @@ -pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getStart(): ?\DateTime - { - return $this->start; - } - - public function setStart(?\DateTime $start): self - { - $this->start = $start; - - return $this; - } - - public function getInterval(): ?string - { - return $this->interval; - } - - public function setInterval(?string $interval): self - { - $this->interval = $interval; - - return $this; - } - - public function getRecurrences(): ?int - { - return $this->recurrences; - } - - public function setRecurrences(?int $recurrences): self - { - $this->recurrences = $recurrences; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php deleted file mode 100644 index 208f879e..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php +++ /dev/null @@ -1,129 +0,0 @@ -id; - } - - /** - * @param mixed $id - */ - public function setId($id): self - { - $this->id = $id; - - return $this; - } - - /** - * @return mixed - */ - public function getPipeline() - { - return $this->pipeline; - } - - /** - * @param mixed $pipeline - */ - public function setPipeline($pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getStart(): ?\DateTime - { - return $this->start; - } - - public function setStart(?\DateTime $start): self - { - $this->start = $start; - - return $this; - } - - public function getInterval(): ?string - { - return $this->interval; - } - - public function setInterval(?string $interval): self - { - $this->interval = $interval; - - return $this; - } - - public function getEnd(): ?\DateTime - { - return $this->end; - } - - public function setEnd(?\DateTime $end): self - { - $this->end = $end; - - return $this; - } - - /** - * @return mixed - */ - public function getUser() - { - return $this->user; - } - - /** - * @param mixed $user - */ - public function setUser($user): self - { - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php deleted file mode 100644 index 07097ac2..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php +++ /dev/null @@ -1,79 +0,0 @@ -pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getStart(): ?\DateTime - { - return $this->start; - } - - public function setStart(?\DateTime $start): self - { - $this->start = $start; - - return $this; - } - - public function getInterval(): ?string - { - return $this->interval; - } - - public function setInterval(?string $interval): self - { - $this->interval = $interval; - - return $this; - } - - public function getEnd(): ?\DateTime - { - return $this->end; - } - - public function setEnd(?\DateTime $end): self - { - $this->end = $end; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php deleted file mode 100644 index e480d037..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php +++ /dev/null @@ -1,133 +0,0 @@ -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 getPipeline(): ?string - { - return $this->pipeline; - } - - public function setPipeline(?string $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getStart(): ?\DateTime - { - return $this->start; - } - - public function setStart(?\DateTime $start): self - { - $this->start = $start; - - return $this; - } - - public function getInterval(): ?string - { - return $this->interval; - } - - public function setInterval(?string $interval): self - { - $this->interval = $interval; - - return $this; - } - - public function getEnd(): ?\DateTime - { - return $this->end; - } - - public function setEnd(?\DateTime $end): self - { - $this->end = $end; - - return $this; - } -} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php deleted file mode 100644 index 96163000..00000000 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php +++ /dev/null @@ -1,165 +0,0 @@ -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(): ?ScheduleIdJsonld - { - return $this->id2; - } - - public function setId2(?ScheduleIdJsonld $id2): self - { - $this->id2 = $id2; - - return $this; - } - - public function getPipeline(): ?PipelineIdJsonld - { - return $this->pipeline; - } - - public function setPipeline(?PipelineIdJsonld $pipeline): self - { - $this->pipeline = $pipeline; - - return $this; - } - - public function getStart(): ?\DateTime - { - return $this->start; - } - - public function setStart(?\DateTime $start): self - { - $this->start = $start; - - return $this; - } - - public function getInterval(): ?string - { - return $this->interval; - } - - public function setInterval(?string $interval): self - { - $this->interval = $interval; - - return $this; - } - - public function getEnd(): ?\DateTime - { - return $this->end; - } - - public function setEnd(?\DateTime $end): self - { - $this->end = $end; - - return $this; - } - - public function getUser(): ?UserIdJsonld - { - return $this->user; - } - - public function setUser(?UserIdJsonld $user): self - { - $this->user = $user; - - return $this; - } -} diff --git a/src/Model/ScheduleScheduleCommandInterfaceJsonld.php b/src/Model/ScheduleScheduleCommandInterfaceJsonld.php new file mode 100644 index 00000000..fe734931 --- /dev/null +++ b/src/Model/ScheduleScheduleCommandInterfaceJsonld.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/Secret.php b/src/Model/Secret.php index 6eac176e..a6e4d335 100644 --- a/src/Model/Secret.php +++ b/src/Model/Secret.php @@ -20,6 +20,10 @@ class Secret * @var string|null */ protected $name; + /** + * @var string|null + */ + protected $slug; /** * @var string|null */ @@ -32,6 +36,10 @@ class Secret * @var string|null */ protected $workspace; + /** + * @var string[]|null + */ + protected $contents; /** * @var mixed|null */ @@ -61,6 +69,18 @@ public function setName(?string $name): self 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; @@ -97,6 +117,24 @@ public function setWorkspace(?string $workspace): self 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; + } + /** * @return mixed */ @@ -105,10 +143,7 @@ public function getIterator() return $this->iterator; } - /** - * @param mixed $iterator - */ - public function setIterator($iterator): self + public function setIterator(mixed $iterator): self { $this->iterator = $iterator; diff --git a/src/Model/SecretChangeSecretValueInput.php b/src/Model/SecretChangeSecretValueInput.php new file mode 100644 index 00000000..b9d664a8 --- /dev/null +++ b/src/Model/SecretChangeSecretValueInput.php @@ -0,0 +1,113 @@ +id; + } + + public function setId(mixed $id): self + { + $this->id = $id; + + 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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/SecretChangeSecretValueInputJsonld.php b/src/Model/SecretChangeSecretValueInputJsonld.php new file mode 100644 index 00000000..91fbf228 --- /dev/null +++ b/src/Model/SecretChangeSecretValueInputJsonld.php @@ -0,0 +1,161 @@ +context; + } + + public function setContext(mixed $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 getId2() + { + return $this->id2; + } + + public function setId2(mixed $id2): self + { + $this->id2 = $id2; + + 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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $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/SecretCreateSecretInput.php b/src/Model/SecretCreateSecretInput.php new file mode 100644 index 00000000..a0a1a939 --- /dev/null +++ b/src/Model/SecretCreateSecretInput.php @@ -0,0 +1,126 @@ +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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/SecretCreateSecretInputJsonld.php b/src/Model/SecretCreateSecretInputJsonld.php new file mode 100644 index 00000000..e80a6977 --- /dev/null +++ b/src/Model/SecretCreateSecretInputJsonld.php @@ -0,0 +1,174 @@ +context; + } + + public function setContext(mixed $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; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $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/SecretEdit.php b/src/Model/SecretEdit.php new file mode 100644 index 00000000..02709cb3 --- /dev/null +++ b/src/Model/SecretEdit.php @@ -0,0 +1,47 @@ +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; + } +} diff --git a/src/Model/SecretIdJsonld.php b/src/Model/SecretIdJsonld.php new file mode 100644 index 00000000..5e431939 --- /dev/null +++ b/src/Model/SecretIdJsonld.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/SecretJsonld.php b/src/Model/SecretJsonld.php index 1f087457..a54f5289 100644 --- a/src/Model/SecretJsonld.php +++ b/src/Model/SecretJsonld.php @@ -12,6 +12,10 @@ class SecretJsonld { + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -20,10 +24,6 @@ class SecretJsonld * @var string|null */ protected $type; - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -32,6 +32,10 @@ class SecretJsonld * @var string|null */ protected $name; + /** + * @var string|null + */ + protected $slug; /** * @var string|null */ @@ -44,49 +48,50 @@ class SecretJsonld * @var string|null */ protected $workspace; + /** + * @var string[]|null + */ + protected $contents; /** * @var TraversableJsonld|null */ protected $iterator; - public function getId(): ?string + /** + * @return mixed + */ + public function getContext() { - return $this->id; + return $this->context; } - public function setId(?string $id): self + public function setContext(mixed $context): self { - $this->id = $id; + $this->context = $context; return $this; } - public function getType(): ?string + public function getId(): ?string { - return $this->type; + return $this->id; } - public function setType(?string $type): self + public function setId(?string $id): self { - $this->type = $type; + $this->id = $id; return $this; } - /** - * @return mixed - */ - public function getContext() + public function getType(): ?string { - return $this->context; + return $this->type; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setType(?string $type): self { - $this->context = $context; + $this->type = $type; return $this; } @@ -115,6 +120,18 @@ public function setName(?string $name): self 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; @@ -151,6 +168,24 @@ public function setWorkspace(?string $workspace): self 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; + } + public function getIterator(): ?TraversableJsonld { return $this->iterator; diff --git a/src/Model/SecretJsonldEdit.php b/src/Model/SecretJsonldEdit.php new file mode 100644 index 00000000..10a595e8 --- /dev/null +++ b/src/Model/SecretJsonldEdit.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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; + } +} diff --git a/src/Model/SecretJsonldRead.php b/src/Model/SecretJsonldRead.php new file mode 100644 index 00000000..0283d3ed --- /dev/null +++ b/src/Model/SecretJsonldRead.php @@ -0,0 +1,152 @@ +context; + } + + public function setContext(mixed $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 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; + } + + public function getIterator(): ?TraversableJsonldRead + { + return $this->iterator; + } + + public function setIterator(?TraversableJsonldRead $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/SecretSecretInputJsonld.php b/src/Model/SecretRead.php similarity index 74% rename from src/Model/SecretSecretInputJsonld.php rename to src/Model/SecretRead.php index 67afeddd..b6af008b 100644 --- a/src/Model/SecretSecretInputJsonld.php +++ b/src/Model/SecretRead.php @@ -10,20 +10,12 @@ namespace Gyroscops\Api\Model; -class SecretSecretInputJsonld +class SecretRead { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ protected $id; - /** - * @var string|null - */ - protected $type; /** * @var string|null */ @@ -36,24 +28,10 @@ class SecretSecretInputJsonld * @var string[]|null */ protected $contents; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context + * @var mixed|null */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } + protected $iterator; public function getId(): ?string { @@ -67,18 +45,6 @@ public function setId(?string $id): self 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; @@ -120,4 +86,19 @@ public function setContents(?iterable $contents): self return $this; } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } } diff --git a/src/Model/SecretRemoveSecretValueInput.php b/src/Model/SecretRemoveSecretValueInput.php new file mode 100644 index 00000000..e5e6b5d8 --- /dev/null +++ b/src/Model/SecretRemoveSecretValueInput.php @@ -0,0 +1,113 @@ +id; + } + + public function setId(mixed $id): self + { + $this->id = $id; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->contents = $contents; + + return $this; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + public function setIterator(mixed $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/SecretRemoveSecretValueInputJsonld.php b/src/Model/SecretRemoveSecretValueInputJsonld.php new file mode 100644 index 00000000..1e99a492 --- /dev/null +++ b/src/Model/SecretRemoveSecretValueInputJsonld.php @@ -0,0 +1,161 @@ +context; + } + + public function setContext(mixed $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 getId2() + { + return $this->id2; + } + + public function setId2(mixed $id2): self + { + $this->id2 = $id2; + + return $this; + } + + /** + * @return string[]|null + */ + public function getContents(): ?array + { + return $this->contents; + } + + /** + * @param string[]|null $contents + */ + public function setContents(?array $contents): self + { + $this->contents = $contents; + + return $this; + } + + /** + * @return mixed + */ + public function getOrganization() + { + return $this->organization; + } + + public function setOrganization(mixed $organization): self + { + $this->organization = $organization; + + return $this; + } + + /** + * @return mixed + */ + public function getWorkspace() + { + return $this->workspace; + } + + public function setWorkspace(mixed $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/StepInput.php b/src/Model/StepInput.php index 0ff56013..f4be6445 100644 --- a/src/Model/StepInput.php +++ b/src/Model/StepInput.php @@ -23,7 +23,7 @@ class StepInput /** * @var string[][]|null */ - protected $config; + protected $configuration; /** * @var Probe[]|null */ @@ -56,17 +56,17 @@ public function setLabel(?string $label): self /** * @return string[][]|null */ - public function getConfig(): ?iterable + public function getConfiguration(): ?iterable { - return $this->config; + return $this->configuration; } /** - * @param string[][]|null $config + * @param string[][]|null $configuration */ - public function setConfig(?iterable $config): self + public function setConfiguration(?iterable $configuration): self { - $this->config = $config; + $this->configuration = $configuration; return $this; } diff --git a/src/Model/StepInputJsonld.php b/src/Model/StepInputJsonld.php index 7228e4f4..f1e2f274 100644 --- a/src/Model/StepInputJsonld.php +++ b/src/Model/StepInputJsonld.php @@ -35,7 +35,7 @@ class StepInputJsonld /** * @var string[][]|null */ - protected $config; + protected $configuration; /** * @var ProbeJsonld[]|null */ @@ -49,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -110,17 +107,17 @@ public function setLabel(?string $label): self /** * @return string[][]|null */ - public function getConfig(): ?iterable + public function getConfiguration(): ?iterable { - return $this->config; + return $this->configuration; } /** - * @param string[][]|null $config + * @param string[][]|null $configuration */ - public function setConfig(?iterable $config): self + public function setConfiguration(?iterable $configuration): self { - $this->config = $config; + $this->configuration = $configuration; return $this; } diff --git a/src/Model/TraversableJsonldRead.php b/src/Model/TraversableJsonldRead.php new file mode 100644 index 00000000..aab6af0f --- /dev/null +++ b/src/Model/TraversableJsonldRead.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/User.php b/src/Model/User.php index 09a10914..17f06731 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -64,6 +64,10 @@ class User * @var string|null */ protected $currentWorkspace; + /** + * @var string|null + */ + protected $currentOrganization; /** * @var string[]|null */ @@ -265,6 +269,18 @@ public function setCurrentWorkspace(?string $currentWorkspace): self return $this; } + public function getCurrentOrganization(): ?string + { + return $this->currentOrganization; + } + + public function setCurrentOrganization(?string $currentOrganization): self + { + $this->currentOrganization = $currentOrganization; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/UserJsonld.php b/src/Model/UserJsonld.php index e05213c9..d3dd374e 100644 --- a/src/Model/UserJsonld.php +++ b/src/Model/UserJsonld.php @@ -76,6 +76,10 @@ class UserJsonld * @var string|null */ protected $currentWorkspace; + /** + * @var string|null + */ + protected $currentOrganization; /** * @var string[]|null */ @@ -105,10 +109,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -319,6 +320,18 @@ public function setCurrentWorkspace(?string $currentWorkspace): self return $this; } + public function getCurrentOrganization(): ?string + { + return $this->currentOrganization; + } + + public function setCurrentOrganization(?string $currentOrganization): self + { + $this->currentOrganization = $currentOrganization; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/VariableFromConfigurationInput.php b/src/Model/VariableFromConfigurationInput.php new file mode 100644 index 00000000..26f870fa --- /dev/null +++ b/src/Model/VariableFromConfigurationInput.php @@ -0,0 +1,47 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigurationInputJsonld.php b/src/Model/VariableFromConfigurationInputJsonld.php new file mode 100644 index 00000000..9404aff0 --- /dev/null +++ b/src/Model/VariableFromConfigurationInputJsonld.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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 getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromConfigMapJsonld.php b/src/Model/VariableFromConfigurationJsonldRead.php similarity index 70% rename from src/Model/VariableFromConfigMapJsonld.php rename to src/Model/VariableFromConfigurationJsonldRead.php index 16b79acf..fc3bc3ab 100644 --- a/src/Model/VariableFromConfigMapJsonld.php +++ b/src/Model/VariableFromConfigurationJsonldRead.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class VariableFromConfigMapJsonld +class VariableFromConfigurationJsonldRead { /** * @var mixed|null @@ -25,19 +25,15 @@ class VariableFromConfigMapJsonld */ protected $type; /** - * @var string|null + * @var mixed|null */ - protected $configMap; + protected $configuration; /** * @var string|null */ protected $item; /** - * @var string|null - */ - protected $id2; - /** - * @var string|null + * @var mixed|null */ protected $environment; /** @@ -53,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -87,14 +80,17 @@ public function setType(?string $type): self return $this; } - public function getConfigMap(): ?string + /** + * @return mixed + */ + public function getConfiguration() { - return $this->configMap; + return $this->configuration; } - public function setConfigMap(?string $configMap): self + public function setConfiguration(mixed $configuration): self { - $this->configMap = $configMap; + $this->configuration = $configuration; return $this; } @@ -111,24 +107,15 @@ public function setItem(?string $item): self return $this; } - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->id2 = $id2; - - return $this; - } - - public function getEnvironment(): ?string + /** + * @return mixed + */ + public function getEnvironment() { return $this->environment; } - public function setEnvironment(?string $environment): self + public function setEnvironment(mixed $environment): self { $this->environment = $environment; diff --git a/src/Model/VariableFromConfigurationJsonldWrite.php b/src/Model/VariableFromConfigurationJsonldWrite.php new file mode 100644 index 00000000..62b952c7 --- /dev/null +++ b/src/Model/VariableFromConfigurationJsonldWrite.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/VariableFromConfigMap.php b/src/Model/VariableFromConfigurationRead.php similarity index 60% rename from src/Model/VariableFromConfigMap.php rename to src/Model/VariableFromConfigurationRead.php index 4fccbf41..0b1df2c5 100644 --- a/src/Model/VariableFromConfigMap.php +++ b/src/Model/VariableFromConfigurationRead.php @@ -10,22 +10,18 @@ namespace Gyroscops\Api\Model; -class VariableFromConfigMap +class VariableFromConfigurationRead { /** - * @var string|null + * @var mixed|null */ - protected $configMap; + protected $configuration; /** * @var string|null */ protected $item; /** - * @var string|null - */ - protected $id; - /** - * @var string|null + * @var mixed|null */ protected $environment; /** @@ -33,14 +29,17 @@ class VariableFromConfigMap */ protected $name; - public function getConfigMap(): ?string + /** + * @return mixed + */ + public function getConfiguration() { - return $this->configMap; + return $this->configuration; } - public function setConfigMap(?string $configMap): self + public function setConfiguration(mixed $configuration): self { - $this->configMap = $configMap; + $this->configuration = $configuration; return $this; } @@ -57,24 +56,15 @@ public function setItem(?string $item): self return $this; } - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->id = $id; - - return $this; - } - - public function getEnvironment(): ?string + /** + * @return mixed + */ + public function getEnvironment() { return $this->environment; } - public function setEnvironment(?string $environment): self + public function setEnvironment(mixed $environment): self { $this->environment = $environment; diff --git a/src/Model/VariableFromConstantInput.php b/src/Model/VariableFromConstantInput.php new file mode 100644 index 00000000..acb1622f --- /dev/null +++ b/src/Model/VariableFromConstantInput.php @@ -0,0 +1,47 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->value = $value; + + return $this; + } +} diff --git a/src/Model/VariableFromConstantInputJsonld.php b/src/Model/VariableFromConstantInputJsonld.php new file mode 100644 index 00000000..ee47bf2a --- /dev/null +++ b/src/Model/VariableFromConstantInputJsonld.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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 getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->value = $value; + + return $this; + } +} diff --git a/src/Model/VariableJsonld.php b/src/Model/VariableFromConstantJsonldRead.php similarity index 77% rename from src/Model/VariableJsonld.php rename to src/Model/VariableFromConstantJsonldRead.php index a600a929..7839c91f 100644 --- a/src/Model/VariableJsonld.php +++ b/src/Model/VariableFromConstantJsonldRead.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class VariableJsonld +class VariableFromConstantJsonldRead { /** * @var mixed|null @@ -27,9 +27,9 @@ class VariableJsonld /** * @var string|null */ - protected $id2; + protected $value; /** - * @var string|null + * @var mixed|null */ protected $environment; /** @@ -45,10 +45,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -79,24 +76,27 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?string + public function getValue(): ?string { - return $this->id2; + return $this->value; } - public function setId2(?string $id2): self + public function setValue(?string $value): self { - $this->id2 = $id2; + $this->value = $value; return $this; } - public function getEnvironment(): ?string + /** + * @return mixed + */ + public function getEnvironment() { return $this->environment; } - public function setEnvironment(?string $environment): self + public function setEnvironment(mixed $environment): self { $this->environment = $environment; diff --git a/src/Model/VariableFromConstantJsonldWrite.php b/src/Model/VariableFromConstantJsonldWrite.php new file mode 100644 index 00000000..ba8dddce --- /dev/null +++ b/src/Model/VariableFromConstantJsonldWrite.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/VariableFromConstantRead.php b/src/Model/VariableFromConstantRead.php new file mode 100644 index 00000000..31768e69 --- /dev/null +++ b/src/Model/VariableFromConstantRead.php @@ -0,0 +1,66 @@ +value; + } + + public function setValue(?string $value): self + { + $this->value = $value; + + return $this; + } + + /** + * @return mixed + */ + public function getEnvironment() + { + return $this->environment; + } + + public function setEnvironment(mixed $environment): self + { + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretInput.php b/src/Model/VariableFromSecretInput.php new file mode 100644 index 00000000..0d4447d7 --- /dev/null +++ b/src/Model/VariableFromSecretInput.php @@ -0,0 +1,47 @@ +name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } + + public function getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretInputJsonld.php b/src/Model/VariableFromSecretInputJsonld.php new file mode 100644 index 00000000..161e4ae9 --- /dev/null +++ b/src/Model/VariableFromSecretInputJsonld.php @@ -0,0 +1,98 @@ +context; + } + + public function setContext(mixed $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 getFrom(): ?string + { + return $this->from; + } + + public function setFrom(?string $from): self + { + $this->from = $from; + + return $this; + } +} diff --git a/src/Model/VariableFromSecretJsonld.php b/src/Model/VariableFromSecretJsonldRead.php similarity index 74% rename from src/Model/VariableFromSecretJsonld.php rename to src/Model/VariableFromSecretJsonldRead.php index 19568bda..5fd4f086 100644 --- a/src/Model/VariableFromSecretJsonld.php +++ b/src/Model/VariableFromSecretJsonldRead.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class VariableFromSecretJsonld +class VariableFromSecretJsonldRead { /** * @var mixed|null @@ -25,7 +25,7 @@ class VariableFromSecretJsonld */ protected $type; /** - * @var string|null + * @var mixed|null */ protected $secret; /** @@ -33,11 +33,7 @@ class VariableFromSecretJsonld */ protected $item; /** - * @var string|null - */ - protected $id2; - /** - * @var string|null + * @var mixed|null */ protected $environment; /** @@ -53,10 +49,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -87,12 +80,15 @@ public function setType(?string $type): self return $this; } - public function getSecret(): ?string + /** + * @return mixed + */ + public function getSecret() { return $this->secret; } - public function setSecret(?string $secret): self + public function setSecret(mixed $secret): self { $this->secret = $secret; @@ -111,24 +107,15 @@ public function setItem(?string $item): self return $this; } - public function getId2(): ?string - { - return $this->id2; - } - - public function setId2(?string $id2): self - { - $this->id2 = $id2; - - return $this; - } - - public function getEnvironment(): ?string + /** + * @return mixed + */ + public function getEnvironment() { return $this->environment; } - public function setEnvironment(?string $environment): self + public function setEnvironment(mixed $environment): self { $this->environment = $environment; diff --git a/src/Model/VariableFromSecretJsonldWrite.php b/src/Model/VariableFromSecretJsonldWrite.php new file mode 100644 index 00000000..c1201268 --- /dev/null +++ b/src/Model/VariableFromSecretJsonldWrite.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/VariableFromSecret.php b/src/Model/VariableFromSecretRead.php similarity index 66% rename from src/Model/VariableFromSecret.php rename to src/Model/VariableFromSecretRead.php index 8a8014af..3ab0727e 100644 --- a/src/Model/VariableFromSecret.php +++ b/src/Model/VariableFromSecretRead.php @@ -10,10 +10,10 @@ namespace Gyroscops\Api\Model; -class VariableFromSecret +class VariableFromSecretRead { /** - * @var string|null + * @var mixed|null */ protected $secret; /** @@ -21,11 +21,7 @@ class VariableFromSecret */ protected $item; /** - * @var string|null - */ - protected $id; - /** - * @var string|null + * @var mixed|null */ protected $environment; /** @@ -33,12 +29,15 @@ class VariableFromSecret */ protected $name; - public function getSecret(): ?string + /** + * @return mixed + */ + public function getSecret() { return $this->secret; } - public function setSecret(?string $secret): self + public function setSecret(mixed $secret): self { $this->secret = $secret; @@ -57,24 +56,15 @@ public function setItem(?string $item): self return $this; } - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->id = $id; - - return $this; - } - - public function getEnvironment(): ?string + /** + * @return mixed + */ + public function getEnvironment() { return $this->environment; } - public function setEnvironment(?string $environment): self + public function setEnvironment(mixed $environment): self { $this->environment = $environment; diff --git a/src/Model/Variable.php b/src/Model/VariableJsonldRead.php similarity index 67% rename from src/Model/Variable.php rename to src/Model/VariableJsonldRead.php index 2ac5a746..f2067392 100644 --- a/src/Model/Variable.php +++ b/src/Model/VariableJsonldRead.php @@ -10,7 +10,7 @@ namespace Gyroscops\Api\Model; -class Variable +class VariableJsonldRead { /** * @var string|null @@ -19,6 +19,10 @@ class Variable /** * @var string|null */ + protected $type; + /** + * @var mixed|null + */ protected $environment; /** * @var string|null @@ -37,12 +41,27 @@ public function setId(?string $id): self return $this; } - public function getEnvironment(): ?string + public function getType(): ?string + { + return $this->type; + } + + public function setType(?string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getEnvironment() { return $this->environment; } - public function setEnvironment(?string $environment): self + public function setEnvironment(mixed $environment): self { $this->environment = $environment; diff --git a/src/Model/VariableRead.php b/src/Model/VariableRead.php new file mode 100644 index 00000000..1d542f3c --- /dev/null +++ b/src/Model/VariableRead.php @@ -0,0 +1,50 @@ +environment; + } + + public function setEnvironment(mixed $environment): self + { + $this->environment = $environment; + + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): self + { + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/WorkflowJobJsonldRead.php b/src/Model/WorkflowJobJsonldRead.php index e75e6c60..b8c0f5ff 100644 --- a/src/Model/WorkflowJobJsonldRead.php +++ b/src/Model/WorkflowJobJsonldRead.php @@ -12,10 +12,6 @@ class WorkflowJobJsonldRead { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class WorkflowJobJsonldRead * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var mixed|null */ @@ -37,24 +37,6 @@ class WorkflowJobJsonldRead */ protected $action; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -82,15 +64,27 @@ public function setType(?string $type): self /** * @return mixed */ - public function getWorkflow() + public function getContext() { - return $this->workflow; + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; } /** - * @param mixed $workflow + * @return mixed */ - public function setWorkflow($workflow): self + public function getWorkflow() + { + return $this->workflow; + } + + public function setWorkflow(mixed $workflow): self { $this->workflow = $workflow; @@ -105,10 +99,7 @@ public function getPipeline() return $this->pipeline; } - /** - * @param mixed $pipeline - */ - public function setPipeline($pipeline): self + public function setPipeline(mixed $pipeline): self { $this->pipeline = $pipeline; @@ -123,10 +114,7 @@ public function getAction() return $this->action; } - /** - * @param mixed $action - */ - public function setAction($action): self + public function setAction(mixed $action): self { $this->action = $action; diff --git a/src/Model/WorkflowJobPipeline.php b/src/Model/WorkflowJobPipeline.php index 51521e3f..1a76d675 100644 --- a/src/Model/WorkflowJobPipeline.php +++ b/src/Model/WorkflowJobPipeline.php @@ -40,6 +40,18 @@ class WorkflowJobPipeline * @var string[]|null */ protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; /** * @var string[]|null */ @@ -141,6 +153,60 @@ public function setAutoload(?array $autoload): self return $this; } + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/WorkflowJobPipelineJsonld.php b/src/Model/WorkflowJobPipelineJsonld.php index 6372dc4c..21ea9f78 100644 --- a/src/Model/WorkflowJobPipelineJsonld.php +++ b/src/Model/WorkflowJobPipelineJsonld.php @@ -12,10 +12,6 @@ class WorkflowJobPipelineJsonld { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class WorkflowJobPipelineJsonld * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -55,25 +55,19 @@ class WorkflowJobPipelineJsonld /** * @var string[]|null */ - protected $steps; - + protected $packages; /** - * @return mixed + * @var string[]|null */ - public function getContext() - { - return $this->context; - } - + protected $repositories; /** - * @param mixed $context + * @var string[]|null */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } + protected $auths; + /** + * @var string[]|null + */ + protected $steps; public function getId(): ?string { @@ -99,6 +93,21 @@ public function setType(?string $type): self return $this; } + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; + } + public function getJob(): ?string { return $this->job; @@ -195,6 +204,60 @@ public function setAutoload(?array $autoload): self return $this; } + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/WorkflowJobPipelineJsonldRead.php b/src/Model/WorkflowJobPipelineJsonldRead.php index 4340d985..df707f13 100644 --- a/src/Model/WorkflowJobPipelineJsonldRead.php +++ b/src/Model/WorkflowJobPipelineJsonldRead.php @@ -48,6 +48,18 @@ class WorkflowJobPipelineJsonldRead * @var string[]|null */ protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; /** * @var string[]|null */ @@ -61,10 +73,7 @@ public function getContext() return $this->context; } - /** - * @param mixed $context - */ - public function setContext($context): self + public function setContext(mixed $context): self { $this->context = $context; @@ -179,6 +188,60 @@ public function setAutoload(?array $autoload): self return $this; } + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/WorkflowJobPipelineRead.php b/src/Model/WorkflowJobPipelineRead.php index 1791c8fc..2dbc3df9 100644 --- a/src/Model/WorkflowJobPipelineRead.php +++ b/src/Model/WorkflowJobPipelineRead.php @@ -36,6 +36,18 @@ class WorkflowJobPipelineRead * @var string[]|null */ protected $autoload; + /** + * @var string[]|null + */ + protected $packages; + /** + * @var string[]|null + */ + protected $repositories; + /** + * @var string[]|null + */ + protected $auths; /** * @var string[]|null */ @@ -125,6 +137,60 @@ public function setAutoload(?array $autoload): self return $this; } + /** + * @return string[]|null + */ + public function getPackages(): ?array + { + return $this->packages; + } + + /** + * @param string[]|null $packages + */ + public function setPackages(?array $packages): self + { + $this->packages = $packages; + + return $this; + } + + /** + * @return string[]|null + */ + public function getRepositories(): ?array + { + return $this->repositories; + } + + /** + * @param string[]|null $repositories + */ + public function setRepositories(?array $repositories): self + { + $this->repositories = $repositories; + + return $this; + } + + /** + * @return string[]|null + */ + public function getAuths(): ?array + { + return $this->auths; + } + + /** + * @param string[]|null $auths + */ + public function setAuths(?array $auths): self + { + $this->auths = $auths; + + return $this; + } + /** * @return string[]|null */ diff --git a/src/Model/WorkflowJsonldRead.php b/src/Model/WorkflowJsonldRead.php index a16096f3..475608a9 100644 --- a/src/Model/WorkflowJsonldRead.php +++ b/src/Model/WorkflowJsonldRead.php @@ -12,10 +12,6 @@ class WorkflowJsonldRead { - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ @@ -24,6 +20,10 @@ class WorkflowJsonldRead * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -41,24 +41,6 @@ class WorkflowJsonldRead */ protected $jobs; - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->context = $context; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -83,6 +65,21 @@ public function setType(?string $type): self return $this; } + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + public function setContext(mixed $context): self + { + $this->context = $context; + + return $this; + } + public function getId2(): ?string { return $this->id2; diff --git a/src/Model/WorkspaceIdJsonld.php b/src/Model/WorkspaceIdJsonld.php new file mode 100644 index 00000000..f70562b4 --- /dev/null +++ b/src/Model/WorkspaceIdJsonld.php @@ -0,0 +1,66 @@ +context; + } + + public function setContext(mixed $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/Normalizer/AbstractPipelineJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldNormalizer.php index 196a40f2..1a0fe8a6 100644 --- a/src/Normalizer/AbstractPipelineJsonldNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldNormalizer.php @@ -27,19 +27,15 @@ class AbstractPipelineJsonldNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' === $type; + return $type === \Gyroscops\Api\Model\AbstractPipelineJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AbstractPipelineJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,66 +50,93 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { $object->setRuntime(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $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']) { + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { $object->setAutoload(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['steps'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setSteps($values_2); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -121,9 +144,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -133,22 +153,36 @@ public function normalize($object, $format = null, array $context = []) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; } - $data['runtime'] = $values; - $values_1 = []; - foreach ($object->getAutoload() as $value_1) { - $values_1[] = $value_1; + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; + } + $values_2 = []; + foreach ($object->getRepositories() as $value_2) { + $values_2[] = $value_2; } - $data['autoload'] = $values_1; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; + } + $data['auths'] = $values_3; if (null !== $object->getSteps()) { - $values_2 = []; - foreach ($object->getSteps() as $value_2) { - $values_2[] = $value_2; + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_2; + $data['steps'] = $values_4; } return $data; diff --git a/src/Normalizer/AbstractPipelineNormalizer.php b/src/Normalizer/AbstractPipelineNormalizer.php index 197c74eb..a9202c54 100644 --- a/src/Normalizer/AbstractPipelineNormalizer.php +++ b/src/Normalizer/AbstractPipelineNormalizer.php @@ -27,19 +27,15 @@ class AbstractPipelineNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AbstractPipeline' === $type; + return $type === \Gyroscops\Api\Model\AbstractPipeline::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipeline' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AbstractPipeline::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,51 +50,78 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { $object->setRuntime(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $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']) { + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { $object->setAutoload(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['steps'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setSteps($values_2); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -106,9 +129,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -118,22 +138,36 @@ public function normalize($object, $format = null, array $context = []) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + } + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; + } + $values_2 = []; + foreach ($object->getRepositories() as $value_2) { + $values_2[] = $value_2; } - $data['runtime'] = $values; - $values_1 = []; - foreach ($object->getAutoload() as $value_1) { - $values_1[] = $value_1; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; } - $data['autoload'] = $values_1; + $data['auths'] = $values_3; if (null !== $object->getSteps()) { - $values_2 = []; - foreach ($object->getSteps() as $value_2) { - $values_2[] = $value_2; + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_2; + $data['steps'] = $values_4; } return $data; diff --git a/src/Normalizer/ActionJsonldReadNormalizer.php b/src/Normalizer/ActionJsonldReadNormalizer.php index 4d8a9053..b91cde00 100644 --- a/src/Normalizer/ActionJsonldReadNormalizer.php +++ b/src/Normalizer/ActionJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ActionJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ActionJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ActionJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ActionJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ActionReadNormalizer.php b/src/Normalizer/ActionReadNormalizer.php index e8b528df..67809504 100644 --- a/src/Normalizer/ActionReadNormalizer.php +++ b/src/Normalizer/ActionReadNormalizer.php @@ -27,19 +27,15 @@ class ActionReadNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ActionRead' === $type; + return $type === \Gyroscops\Api\Model\ActionRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ActionRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ActionRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } @@ -64,9 +60,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php b/src/Normalizer/AddPipelineComposerAuthCommandInputJsonldNormalizer.php similarity index 50% rename from src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php rename to src/Normalizer/AddPipelineComposerAuthCommandInputJsonldNormalizer.php index 67646524..681a5edf 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php +++ b/src/Normalizer/AddPipelineComposerAuthCommandInputJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AddPipelineComposerAuthCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,53 +46,50 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); } - 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('token', $data) && $data['token'] !== null) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + $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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); } - if (null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); + if (null !== $object->getToken()) { + $data['token'] = $object->getToken(); } return $data; diff --git a/src/Normalizer/AddPipelineComposerAuthCommandInputNormalizer.php b/src/Normalizer/AddPipelineComposerAuthCommandInputNormalizer.php new file mode 100644 index 00000000..687aae54 --- /dev/null +++ b/src/Normalizer/AddPipelineComposerAuthCommandInputNormalizer.php @@ -0,0 +1,82 @@ +setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); + } + if (\array_key_exists('token', $data) && $data['token'] !== null) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + $object->setToken(null); + } + + return $object; + } + + /** + * @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->getToken()) { + $data['token'] = $object->getToken(); + } + + return $data; + } +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/AddPipelineComposerRepositoryCommandInputJsonldNormalizer.php similarity index 50% rename from src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php rename to src/Normalizer/AddPipelineComposerRepositoryCommandInputJsonldNormalizer.php index a68a3019..59416492 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/AddPipelineComposerRepositoryCommandInputJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AddPipelineComposerRepositoryCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer imple public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,53 +46,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(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('type', $data) && $data['type'] !== null) { + $object->setType2($data['type']); + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + $object->setType2(null); + } + if (\array_key_exists('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); } return $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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getType2()) { + $data['type'] = $object->getType2(); } - if (null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); } return $data; diff --git a/src/Normalizer/AddPipelineComposerRepositoryCommandInputNormalizer.php b/src/Normalizer/AddPipelineComposerRepositoryCommandInputNormalizer.php new file mode 100644 index 00000000..2a2c0c43 --- /dev/null +++ b/src/Normalizer/AddPipelineComposerRepositoryCommandInputNormalizer.php @@ -0,0 +1,90 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('type', $data) && $data['type'] !== null) { + $object->setType($data['type']); + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + $object->setType(null); + } + if (\array_key_exists('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); + } + + return $object; + } + + /** + * @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->getType()) { + $data['type'] = $object->getType(); + } + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php index 8e4bd86c..ae662603 100644 --- a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class AkeneoInstanceAkeneoInstanceInputJsonldNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { + if (\array_key_exists('pimUrl', $data) && $data['pimUrl'] !== null) { $object->setPimUrl($data['pimUrl']); - } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { + } elseif (\array_key_exists('pimUrl', $data) && $data['pimUrl'] === null) { $object->setPimUrl(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $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']) { + if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + $object->setSecret($this->denormalizer->denormalize($data['secret'], \Gyroscops\Api\Model\CreateSecretInputJsonld::class, 'json', $context)); + } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { $object->setSecret(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php index 14a41062..fecfa650 100644 --- a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php @@ -27,19 +27,15 @@ class AkeneoInstanceAkeneoInstanceInputNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' === $type; + return $type === \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { + if (\array_key_exists('pimUrl', $data) && $data['pimUrl'] !== null) { $object->setPimUrl($data['pimUrl']); - } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { + } elseif (\array_key_exists('pimUrl', $data) && $data['pimUrl'] === null) { $object->setPimUrl(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $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']) { + if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + $object->setSecret($this->denormalizer->denormalize($data['secret'], \Gyroscops\Api\Model\CreateSecretInput::class, 'json', $context)); + } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { $object->setSecret(null); } @@ -74,9 +70,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php index ccc63c24..b0990946 100644 --- a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php +++ b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php @@ -27,19 +27,15 @@ class AkeneoInstanceJsonldNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' === $type; + return $type === \Gyroscops\Api\Model\AkeneoInstanceJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoInstanceJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,62 +50,62 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('secret', $data) && null !== $data['secret']) { + if (\array_key_exists('secret', $data) && $data['secret'] !== null) { $object->setSecret($data['secret']); - } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { $object->setSecret(null); } - if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { + if (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] !== null) { $values = []; foreach ($data['linkedAccounts'] as $value) { $values[] = $value; } $object->setLinkedAccounts($values); - } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { + } elseif (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] === null) { $object->setLinkedAccounts(null); } - if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { + if (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] !== null) { $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']) { + } elseif (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] === null) { $object->setOauthTokens(null); } @@ -117,9 +113,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoInstanceNormalizer.php b/src/Normalizer/AkeneoInstanceNormalizer.php index 7d369b0d..b87a8be8 100644 --- a/src/Normalizer/AkeneoInstanceNormalizer.php +++ b/src/Normalizer/AkeneoInstanceNormalizer.php @@ -27,19 +27,15 @@ class AkeneoInstanceNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoInstance' === $type; + return $type === \Gyroscops\Api\Model\AkeneoInstance::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoInstance' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoInstance::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,47 +50,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('secret', $data) && null !== $data['secret']) { + if (\array_key_exists('secret', $data) && $data['secret'] !== null) { $object->setSecret($data['secret']); - } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { $object->setSecret(null); } - if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { + if (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] !== null) { $values = []; foreach ($data['linkedAccounts'] as $value) { $values[] = $value; } $object->setLinkedAccounts($values); - } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { + } elseif (\array_key_exists('linkedAccounts', $data) && $data['linkedAccounts'] === null) { $object->setLinkedAccounts(null); } - if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { + if (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] !== null) { $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']) { + } elseif (\array_key_exists('oauthTokens', $data) && $data['oauthTokens'] === null) { $object->setOauthTokens(null); } @@ -102,9 +98,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php index 3b1d84ce..440e962f 100644 --- a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,39 +50,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { $object->setAkeneoInstance($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { $object->setAkeneoInstance(null); } - if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { $object->setTokenId($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { $object->setAkeneoUserId($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && null !== $data['token']) { + if (\array_key_exists('token', $data) && $data['token'] !== null) { $object->setToken($data['token']); - } elseif (\array_key_exists('token', $data) && null === $data['token']) { + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { $object->setToken(null); } @@ -94,9 +90,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php index e8a6919b..e63800ea 100644 --- a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php @@ -27,19 +27,15 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' === $type; + return $type === \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { $object->setAkeneoInstance($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { $object->setAkeneoInstance(null); } - if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { $object->setTokenId($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { $object->setAkeneoUserId($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && null !== $data['token']) { + if (\array_key_exists('token', $data) && $data['token'] !== null) { $object->setToken($data['token']); - } elseif (\array_key_exists('token', $data) && null === $data['token']) { + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { $object->setToken(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php index 3b3bf6cc..c1fccedc 100644 --- a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php @@ -27,19 +27,15 @@ class AkeneoLinkedAccountJsonldNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' === $type; + return $type === \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,49 +50,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } - if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { $object->setTokenId($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { $object->setAkeneoUserId($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && null !== $data['token']) { + if (\array_key_exists('token', $data) && $data['token'] !== null) { $object->setToken($data['token']); - } elseif (\array_key_exists('token', $data) && null === $data['token']) { + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { $object->setToken(null); } - if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { $object->setAkeneoInstance($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { $object->setAkeneoInstance(null); } @@ -104,9 +100,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoLinkedAccountNormalizer.php b/src/Normalizer/AkeneoLinkedAccountNormalizer.php index d09193cd..eccd4ad2 100644 --- a/src/Normalizer/AkeneoLinkedAccountNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountNormalizer.php @@ -27,19 +27,15 @@ class AkeneoLinkedAccountNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' === $type; + return $type === \Gyroscops\Api\Model\AkeneoLinkedAccount::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoLinkedAccount::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } - if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { + if (\array_key_exists('tokenId', $data) && $data['tokenId'] !== null) { $object->setTokenId($data['tokenId']); - } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + } elseif (\array_key_exists('tokenId', $data) && $data['tokenId'] === null) { $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { + if (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] !== null) { $object->setAkeneoUserId($data['akeneoUserId']); - } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + } elseif (\array_key_exists('akeneoUserId', $data) && $data['akeneoUserId'] === null) { $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data) && null !== $data['token']) { + if (\array_key_exists('token', $data) && $data['token'] !== null) { $object->setToken($data['token']); - } elseif (\array_key_exists('token', $data) && null === $data['token']) { + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { $object->setToken(null); } - if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + if (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] !== null) { $object->setAkeneoInstance($data['akeneoInstance']); - } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + } elseif (\array_key_exists('akeneoInstance', $data) && $data['akeneoInstance'] === null) { $object->setAkeneoInstance(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php index bfef6bcc..b57e959b 100644 --- a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenJsonldReadNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,43 +50,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { + if (\array_key_exists('scopes', $data) && $data['scopes'] !== null) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { + } elseif (\array_key_exists('scopes', $data) && $data['scopes'] === null) { $object->setScopes(null); } - if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { + if (\array_key_exists('responseType', $data) && $data['responseType'] !== null) { $object->setResponseType($data['responseType']); - } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { + } elseif (\array_key_exists('responseType', $data) && $data['responseType'] === null) { $object->setResponseType(null); } @@ -98,9 +94,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php index 41aed7da..71c0b5fc 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenOauthStateInputJsonldNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,33 +50,33 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('scope', $data) && null !== $data['scope']) { + if (\array_key_exists('scope', $data) && $data['scope'] !== null) { $values = []; foreach ($data['scope'] as $value) { $values[] = $value; } $object->setScope($values); - } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { + } elseif (\array_key_exists('scope', $data) && $data['scope'] === null) { $object->setScope(null); } @@ -88,9 +84,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php index 002229ae..266c9aa6 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenOauthStateInputNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,18 +50,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('scope', $data) && null !== $data['scope']) { + if (\array_key_exists('scope', $data) && $data['scope'] !== null) { $values = []; foreach ($data['scope'] as $value) { $values[] = $value; } $object->setScope($values); - } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { + } elseif (\array_key_exists('scope', $data) && $data['scope'] === null) { $object->setScope(null); } @@ -73,9 +69,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php index 2509957b..5aa07ec4 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateOutputJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateOutputJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php index 41f441e3..1b74b765 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenOauthTokenInputJsonldNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('state', $data) && null !== $data['state']) { + if (\array_key_exists('state', $data) && $data['state'] !== null) { $object->setState($data['state']); - } elseif (\array_key_exists('state', $data) && null === $data['state']) { + } elseif (\array_key_exists('state', $data) && $data['state'] === null) { $object->setState(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } @@ -84,9 +80,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php index a3b6d6e9..9c5be026 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenOauthTokenInputNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('state', $data) && null !== $data['state']) { + if (\array_key_exists('state', $data) && $data['state'] !== null) { $object->setState($data['state']); - } elseif (\array_key_exists('state', $data) && null === $data['state']) { + } elseif (\array_key_exists('state', $data) && $data['state'] === null) { $object->setState(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } @@ -74,9 +70,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php index 6e8556c3..1a2cc16f 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenOutputJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenOutputJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -69,13 +65,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php index 05ae0ec5..3cb44a0f 100644 --- a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php @@ -27,19 +27,15 @@ class AkeneoOauthTokenReadNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' === $type; + return $type === \Gyroscops\Api\Model\AkeneoOauthTokenRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AkeneoOauthTokenRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('url', $data) && null !== $data['url']) { + if (\array_key_exists('url', $data) && $data['url'] !== null) { $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { $object->setUrl(null); } - if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { + if (\array_key_exists('scopes', $data) && $data['scopes'] !== null) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { + } elseif (\array_key_exists('scopes', $data) && $data['scopes'] === null) { $object->setScopes(null); } - if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { + if (\array_key_exists('responseType', $data) && $data['responseType'] !== null) { $object->setResponseType($data['responseType']); - } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { + } elseif (\array_key_exists('responseType', $data) && $data['responseType'] === null) { $object->setResponseType(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php index 01aa6b34..f1bfe69f 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php index 0aae5c14..66cc51ee 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationMeGetResponse200HydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php index ec0e686d..dccba4dc 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationMeGetResponse200HydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php index 73ac8c58..10216544 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationMeGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationMeGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationMeGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationMeGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationMeGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 404ba1d5..484b3876 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php index 5421b2f4..3a534cbb 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php index c3654115..74855e08 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer implements D public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php index cdff1a25..60a6b700 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOfferIdOptionsGetResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OptionJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\OptionJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5a88da63..55bf6445 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer im public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php index b7f28d47..3e923882 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOffersGetResponse200HydraSearchNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php index 6eddc583..ec97bc6e 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOffersGetResponse200HydraViewNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php index 7d96547e..a03cad85 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOffersGetResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOffersGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OfferJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\OfferJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5bc22f6d..b673bfb9 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 68b448ad..9fa60efe 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php index b4dce151..80217c90 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php index df31aad0..8d2e437d 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer impleme public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserAuthorizationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 9b1b2e76..c19e73e0 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php index 73c11549..9d28c912 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php index 552f6c63..3438ee5e 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNo public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php index 23995887..0f8ab5bb 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 6f094fd1..7e3900f1 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php index 3e81d9bf..b706def0 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer imple public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php index 2fbe4ec0..71a0b431 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer impleme public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php index d57b864d..a447d922 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdUsersGetResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationOrganizationIdUsersGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 40529ea5..95023f3d 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php index 2c495e4f..4ffa6829 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php index c5b97274..e9ef511a 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php index e434565f..6e82d378 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkspaceJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 30c78993..00b3b167 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php index e09d536f..9c87252a 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationsGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php index e4090505..590e9caa 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationsGetResponse200HydraViewNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php index 2f071fd1..97cafff6 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationOrganizationsGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\OrganizationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationOrganizationsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationOrganizationsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 6c56e12f..710d57b1 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php index f0b10d99..47db0949 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php index 72953535..48979c8f 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsGetResponse200HydraViewNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php index ddbc6ab4..df7de836 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\SubscriptionJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 19312291..7f7fb44a 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php index ce113f23..074907d3 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer im public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php index 8ed6a24b..2b5deeb6 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php index dce3bbb7..483a0c87 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\SubscriptionOptionJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index ae351e90..a66400c4 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemN public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php index 05ef6c83..22e005c3 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php index ce34e814..a1c4d1d0 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer implemen public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php index 1f2c7058..400d3b26 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserAuthorizationsGetResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserAuthorizationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationUserAuthorizationsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationUserAuthorizationsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 043a840d..eba9a9ea 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingIte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php index b38c1187..fe0f22fa 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php index 7aa71443..ee993c99 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php index bc0fe2fe..5edc19eb 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationUserIdAuthorizationsGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserAuthorizationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationUserIdAuthorizationsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index d7a687bb..c280b28c 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer imp public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php index 32cb3012..78f5eaae 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUsersGetResponse200HydraSearchNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php index 032359af..13b40751 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationUsersGetResponse200HydraViewNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php index a5c9ff29..4e27aee3 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationUsersGetResponse200Normalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationUsersGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationUsersGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationUsersGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 92d9a3c9..2267508a 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappi public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php index d9c8a1e8..5f263ef1 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php index d7dc2eb8..09ba500e 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer i public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php index bb217dd2..9339d40b 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserAuthorizationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index cbe0da48..ddf9e0da 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php index a1d93fef..9c21aee8 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer implemen public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php index 5e1ab880..ce5318a1 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php index 04913fe4..b8d70fa4 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspaceIdUsersGetResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\UserJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationWorkspaceIdUsersGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0e3364d8..9cbd3035 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php index 0258ca63..80f6c839 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspacesGetResponse200HydraSearchNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php index f373aea8..950ef1cd 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspacesGetResponse200HydraViewNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php index 1c1e86a9..5c644b73 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class AuthenticationWorkspacesGetResponse200Normalizer implements DenormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkspaceJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\AuthenticationWorkspacesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\AuthenticationWorkspacesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/AutoloadInputJsonldNormalizer.php b/src/Normalizer/AutoloadInputJsonldNormalizer.php index da6e5eaa..7f12a022 100644 --- a/src/Normalizer/AutoloadInputJsonldNormalizer.php +++ b/src/Normalizer/AutoloadInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class AutoloadInputJsonldNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\AutoloadInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AutoloadInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,33 +50,33 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { + if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { $object->setNamespace($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { $object->setNamespace(null); } - if (\array_key_exists('paths', $data) && null !== $data['paths']) { + if (\array_key_exists('paths', $data) && $data['paths'] !== null) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); - } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { $object->setPaths(null); } @@ -88,24 +84,17 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getNamespace()) { - $data['namespace'] = $object->getNamespace(); - } - if (null !== $object->getPaths()) { - $values = []; - foreach ($object->getPaths() as $value) { - $values[] = $value; - } - $data['paths'] = $values; + $data['namespace'] = $object->getNamespace(); + $values = []; + foreach ($object->getPaths() as $value) { + $values[] = $value; } + $data['paths'] = $values; return $data; } diff --git a/src/Normalizer/AutoloadInputNormalizer.php b/src/Normalizer/AutoloadInputNormalizer.php index 3e2aeec6..c3a65a85 100644 --- a/src/Normalizer/AutoloadInputNormalizer.php +++ b/src/Normalizer/AutoloadInputNormalizer.php @@ -27,19 +27,15 @@ class AutoloadInputNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\AutoloadInput' === $type; + return $type === \Gyroscops\Api\Model\AutoloadInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\AutoloadInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\AutoloadInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,18 +50,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { + if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { $object->setNamespace($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { $object->setNamespace(null); } - if (\array_key_exists('paths', $data) && null !== $data['paths']) { + if (\array_key_exists('paths', $data) && $data['paths'] !== null) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); - } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { $object->setPaths(null); } @@ -73,24 +69,17 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getNamespace()) { - $data['namespace'] = $object->getNamespace(); - } - if (null !== $object->getPaths()) { - $values = []; - foreach ($object->getPaths() as $value) { - $values[] = $value; - } - $data['paths'] = $values; + $data['namespace'] = $object->getNamespace(); + $values = []; + foreach ($object->getPaths() as $value) { + $values[] = $value; } + $data['paths'] = $values; return $data; } diff --git a/src/Normalizer/BigDecimalJsonldNormalizer.php b/src/Normalizer/BigDecimalJsonldNormalizer.php index b5ad3e8e..f5a59ef2 100644 --- a/src/Normalizer/BigDecimalJsonldNormalizer.php +++ b/src/Normalizer/BigDecimalJsonldNormalizer.php @@ -27,19 +27,15 @@ class BigDecimalJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\BigDecimalJsonld' === $type; + return $type === \Gyroscops\Api\Model\BigDecimalJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\BigDecimalJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\BigDecimalJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,74 +50,74 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('scale', $data) && null !== $data['scale']) { + if (\array_key_exists('scale', $data) && $data['scale'] !== null) { $object->setScale($data['scale']); - } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { + } elseif (\array_key_exists('scale', $data) && $data['scale'] === null) { $object->setScale(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $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']) { + if (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] !== null) { + $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], \Gyroscops\Api\Model\BigIntegerJsonld::class, 'json', $context)); + } elseif (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] === null) { $object->setUnscaledValue(null); } - if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { + if (\array_key_exists('integralPart', $data) && $data['integralPart'] !== null) { $object->setIntegralPart($data['integralPart']); - } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { + } elseif (\array_key_exists('integralPart', $data) && $data['integralPart'] === null) { $object->setIntegralPart(null); } - if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { + if (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] !== null) { $object->setFractionalPart($data['fractionalPart']); - } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { + } elseif (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] === null) { $object->setFractionalPart(null); } - if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { + if (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] !== null) { $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); - } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] === null) { $object->setNonZeroFractionalPart(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } @@ -129,9 +125,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/BigDecimalNormalizer.php b/src/Normalizer/BigDecimalNormalizer.php index 4b2c4582..7ea04e1f 100644 --- a/src/Normalizer/BigDecimalNormalizer.php +++ b/src/Normalizer/BigDecimalNormalizer.php @@ -27,19 +27,15 @@ class BigDecimalNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\BigDecimal' === $type; + return $type === \Gyroscops\Api\Model\BigDecimal::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\BigDecimal' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\BigDecimal::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,59 +50,59 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('scale', $data) && null !== $data['scale']) { + if (\array_key_exists('scale', $data) && $data['scale'] !== null) { $object->setScale($data['scale']); - } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { + } elseif (\array_key_exists('scale', $data) && $data['scale'] === null) { $object->setScale(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $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']) { + if (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] !== null) { + $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], \Gyroscops\Api\Model\BigInteger::class, 'json', $context)); + } elseif (\array_key_exists('unscaledValue', $data) && $data['unscaledValue'] === null) { $object->setUnscaledValue(null); } - if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { + if (\array_key_exists('integralPart', $data) && $data['integralPart'] !== null) { $object->setIntegralPart($data['integralPart']); - } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { + } elseif (\array_key_exists('integralPart', $data) && $data['integralPart'] === null) { $object->setIntegralPart(null); } - if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { + if (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] !== null) { $object->setFractionalPart($data['fractionalPart']); - } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { + } elseif (\array_key_exists('fractionalPart', $data) && $data['fractionalPart'] === null) { $object->setFractionalPart(null); } - if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { + if (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] !== null) { $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); - } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && $data['nonZeroFractionalPart'] === null) { $object->setNonZeroFractionalPart(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } @@ -114,9 +110,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/BigIntegerJsonldNormalizer.php b/src/Normalizer/BigIntegerJsonldNormalizer.php index a6bb8ca2..bea42843 100644 --- a/src/Normalizer/BigIntegerJsonldNormalizer.php +++ b/src/Normalizer/BigIntegerJsonldNormalizer.php @@ -27,19 +27,15 @@ class BigIntegerJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\BigIntegerJsonld' === $type; + return $type === \Gyroscops\Api\Model\BigIntegerJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\BigIntegerJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\BigIntegerJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,69 +50,69 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { + if (\array_key_exists('bitLength', $data) && $data['bitLength'] !== null) { $object->setBitLength($data['bitLength']); - } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { + } elseif (\array_key_exists('bitLength', $data) && $data['bitLength'] === null) { $object->setBitLength(null); } - if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { + if (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] !== null) { $object->setLowestSetBit($data['lowestSetBit']); - } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { + } elseif (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] === null) { $object->setLowestSetBit(null); } - if (\array_key_exists('even', $data) && null !== $data['even']) { + if (\array_key_exists('even', $data) && $data['even'] !== null) { $object->setEven($data['even']); - } elseif (\array_key_exists('even', $data) && null === $data['even']) { + } elseif (\array_key_exists('even', $data) && $data['even'] === null) { $object->setEven(null); } - if (\array_key_exists('odd', $data) && null !== $data['odd']) { + if (\array_key_exists('odd', $data) && $data['odd'] !== null) { $object->setOdd($data['odd']); - } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { + } elseif (\array_key_exists('odd', $data) && $data['odd'] === null) { $object->setOdd(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } @@ -124,13 +120,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/BigIntegerNormalizer.php b/src/Normalizer/BigIntegerNormalizer.php index cb0b44b5..7d35a7d3 100644 --- a/src/Normalizer/BigIntegerNormalizer.php +++ b/src/Normalizer/BigIntegerNormalizer.php @@ -27,19 +27,15 @@ class BigIntegerNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\BigInteger' === $type; + return $type === \Gyroscops\Api\Model\BigInteger::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\BigInteger' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\BigInteger::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,54 +50,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { + if (\array_key_exists('bitLength', $data) && $data['bitLength'] !== null) { $object->setBitLength($data['bitLength']); - } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { + } elseif (\array_key_exists('bitLength', $data) && $data['bitLength'] === null) { $object->setBitLength(null); } - if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { + if (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] !== null) { $object->setLowestSetBit($data['lowestSetBit']); - } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { + } elseif (\array_key_exists('lowestSetBit', $data) && $data['lowestSetBit'] === null) { $object->setLowestSetBit(null); } - if (\array_key_exists('even', $data) && null !== $data['even']) { + if (\array_key_exists('even', $data) && $data['even'] !== null) { $object->setEven($data['even']); - } elseif (\array_key_exists('even', $data) && null === $data['even']) { + } elseif (\array_key_exists('even', $data) && $data['even'] === null) { $object->setEven(null); } - if (\array_key_exists('odd', $data) && null !== $data['odd']) { + if (\array_key_exists('odd', $data) && $data['odd'] !== null) { $object->setOdd($data['odd']); - } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { + } elseif (\array_key_exists('odd', $data) && $data['odd'] === null) { $object->setOdd(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } @@ -109,13 +105,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/BigNumberJsonldNormalizer.php b/src/Normalizer/BigNumberJsonldNormalizer.php index bf10a307..17d926a7 100644 --- a/src/Normalizer/BigNumberJsonldNormalizer.php +++ b/src/Normalizer/BigNumberJsonldNormalizer.php @@ -27,19 +27,15 @@ class BigNumberJsonldNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\BigNumberJsonld' === $type; + return $type === \Gyroscops\Api\Model\BigNumberJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\BigNumberJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\BigNumberJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,49 +50,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $object->setSign(null); } @@ -104,13 +100,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/BigNumberNormalizer.php b/src/Normalizer/BigNumberNormalizer.php index 0f6543f1..bb49bf45 100644 --- a/src/Normalizer/BigNumberNormalizer.php +++ b/src/Normalizer/BigNumberNormalizer.php @@ -27,19 +27,15 @@ class BigNumberNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\BigNumber' === $type; + return $type === \Gyroscops\Api\Model\BigNumber::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\BigNumber' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\BigNumber::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $object->setSign(null); } @@ -89,13 +85,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php b/src/Normalizer/CompilationCompilePipelineCommandInputJsonldNormalizer.php similarity index 59% rename from src/Normalizer/ExecutionActionJsonldReadNormalizer.php rename to src/Normalizer/CompilationCompilePipelineCommandInputJsonldNormalizer.php index c5628126..9a5d3d0c 100644 --- a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php +++ b/src/Normalizer/CompilationCompilePipelineCommandInputJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CompilationCompilePipelineCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ExecutionActionJsonldReadNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,44 +46,41 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionActionJsonldRead(); + $object = new \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $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('pipeline', $data) && $data['pipeline'] !== null) { + $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + $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 = []) { $data = []; - $data['id'] = $object->getId2(); + $data['pipeline'] = $object->getPipeline(); return $data; } diff --git a/src/Normalizer/CompilationCompilePipelineCommandInputNormalizer.php b/src/Normalizer/CompilationCompilePipelineCommandInputNormalizer.php new file mode 100644 index 00000000..844eeac1 --- /dev/null +++ b/src/Normalizer/CompilationCompilePipelineCommandInputNormalizer.php @@ -0,0 +1,72 @@ +setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + $object->setPipeline(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['pipeline'] = $object->getPipeline(); + + return $data; + } +} diff --git a/src/Normalizer/CompilationCompilePipelineCommandJsonldNormalizer.php b/src/Normalizer/CompilationCompilePipelineCommandJsonldNormalizer.php new file mode 100644 index 00000000..e3abce48 --- /dev/null +++ b/src/Normalizer/CompilationCompilePipelineCommandJsonldNormalizer.php @@ -0,0 +1,89 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($this->denormalizer->denormalize($data['id'], \Gyroscops\Api\Model\PipelineIdJsonld::class, 'json', $context)); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId2()) { + $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionActionReadNormalizer.php b/src/Normalizer/CompilationCompilePipelineCommandNormalizer.php similarity index 70% rename from src/Normalizer/ExecutionActionReadNormalizer.php rename to src/Normalizer/CompilationCompilePipelineCommandNormalizer.php index b278dc2e..056acdb7 100644 --- a/src/Normalizer/ExecutionActionReadNormalizer.php +++ b/src/Normalizer/CompilationCompilePipelineCommandNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CompilationCompilePipelineCommandNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ExecutionActionReadNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionActionRead' === $type; + return $type === \Gyroscops\Api\Model\CompilationCompilePipelineCommand::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\CompilationCompilePipelineCommand::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,13 +46,13 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionActionRead(); + $object = new \Gyroscops\Api\Model\CompilationCompilePipelineCommand(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } @@ -64,15 +60,14 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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['id'] = $object->getId(); + if (null !== $object->getId()) { + $data['id'] = $object->getId(); + } return $data; } diff --git a/src/Normalizer/PipelineCompilationJsonldNormalizer.php b/src/Normalizer/CompilationJsonldNormalizer.php similarity index 60% rename from src/Normalizer/PipelineCompilationJsonldNormalizer.php rename to src/Normalizer/CompilationJsonldNormalizer.php index acb025de..04e81f52 100644 --- a/src/Normalizer/PipelineCompilationJsonldNormalizer.php +++ b/src/Normalizer/CompilationJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineCompilationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CompilationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class PipelineCompilationJsonldNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' === $type; + return $type === \Gyroscops\Api\Model\CompilationJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\CompilationJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,53 +46,53 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineCompilationJsonld(); + $object = new \Gyroscops\Api\Model\CompilationJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { + if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); - } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { $object->setCreatedAt(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('owner', $data) && null !== $data['owner']) { + if (\array_key_exists('owner', $data) && $data['owner'] !== null) { $object->setOwner($data['owner']); - } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + } elseif (\array_key_exists('owner', $data) && $data['owner'] === null) { $object->setOwner(null); } @@ -104,9 +100,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PipelineCompilationNormalizer.php b/src/Normalizer/CompilationNormalizer.php similarity index 64% rename from src/Normalizer/PipelineCompilationNormalizer.php rename to src/Normalizer/CompilationNormalizer.php index 234435f7..e0c1cb91 100644 --- a/src/Normalizer/PipelineCompilationNormalizer.php +++ b/src/Normalizer/CompilationNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineCompilationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CompilationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class PipelineCompilationNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineCompilation' === $type; + return $type === \Gyroscops\Api\Model\Compilation::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilation' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Compilation::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineCompilation(); + $object = new \Gyroscops\Api\Model\Compilation(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { + if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); - } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { $object->setCreatedAt(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('owner', $data) && null !== $data['owner']) { + if (\array_key_exists('owner', $data) && $data['owner'] !== null) { $object->setOwner($data['owner']); - } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + } elseif (\array_key_exists('owner', $data) && $data['owner'] === null) { $object->setOwner(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php deleted file mode 100644 index 18eba1e2..00000000 --- a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php +++ /dev/null @@ -1,114 +0,0 @@ -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('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) && 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getFlags()) { - $data['flags'] = $object->getFlags(); - } - if (null !== $object->getIteratorClass()) { - $data['iteratorClass'] = $object->getIteratorClass(); - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigMapValueInputNormalizer.php b/src/Normalizer/ConfigMapValueInputNormalizer.php deleted file mode 100644 index 2f562df5..00000000 --- a/src/Normalizer/ConfigMapValueInputNormalizer.php +++ /dev/null @@ -1,99 +0,0 @@ -setArrayCopy($data['arrayCopy']); - } elseif (\array_key_exists('arrayCopy', $data) && null === $data['arrayCopy']) { - $object->setArrayCopy(null); - } - 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getFlags()) { - $data['flags'] = $object->getFlags(); - } - if (null !== $object->getIteratorClass()) { - $data['iteratorClass'] = $object->getIteratorClass(); - } - - return $data; - } -} diff --git a/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php new file mode 100644 index 00000000..07099c91 --- /dev/null +++ b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php @@ -0,0 +1,121 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + 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/ConfigurationChangeConfigurationValueInputNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputNormalizer.php new file mode 100644 index 00000000..90e6da58 --- /dev/null +++ b/src/Normalizer/ConfigurationChangeConfigurationValueInputNormalizer.php @@ -0,0 +1,106 @@ + $value) { + $values[$key] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + 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/ConfigurationCreateConfigurationInputJsonldNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php new file mode 100644 index 00000000..e6a40832 --- /dev/null +++ b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php @@ -0,0 +1,137 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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; + } + 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/EnvironmentNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php similarity index 55% rename from src/Normalizer/EnvironmentNormalizer.php rename to src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php index 31469fe0..b9e494bc 100644 --- a/src/Normalizer/EnvironmentNormalizer.php +++ b/src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationCreateConfigurationInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Environment' === $type; + return $type === \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Environment' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,52 +46,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Environment(); + $object = new \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - 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); + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $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 = []) @@ -107,18 +100,21 @@ public function normalize($object, $format = null, array $context = []) 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; + } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } if (null !== $object->getWorkspace()) { $data['workspace'] = $object->getWorkspace(); } - if (null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); } return $data; diff --git a/src/Normalizer/ConfigurationEditNormalizer.php b/src/Normalizer/ConfigurationEditNormalizer.php new file mode 100644 index 00000000..9a1b9d16 --- /dev/null +++ b/src/Normalizer/ConfigurationEditNormalizer.php @@ -0,0 +1,82 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + + return $object; + } + + /** + * @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(); + } + + return $data; + } +} diff --git a/src/Normalizer/UserIdJsonldNormalizer.php b/src/Normalizer/ConfigurationIdJsonldNormalizer.php similarity index 64% rename from src/Normalizer/UserIdJsonldNormalizer.php rename to src/Normalizer/ConfigurationIdJsonldNormalizer.php index c70d19db..55b0a6df 100644 --- a/src/Normalizer/UserIdJsonldNormalizer.php +++ b/src/Normalizer/ConfigurationIdJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class UserIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class UserIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UserIdJsonld' === $type; + return $type === \Gyroscops\Api\Model\ConfigurationIdJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UserIdJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ConfigurationIdJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,23 +46,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\UserIdJsonld(); + $object = new \Gyroscops\Api\Model\ConfigurationIdJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ConfigMapConfigMapInputNormalizer.php b/src/Normalizer/ConfigurationJsonldEditNormalizer.php similarity index 61% rename from src/Normalizer/ConfigMapConfigMapInputNormalizer.php rename to src/Normalizer/ConfigurationJsonldEditNormalizer.php index 65453029..bcfdcfb3 100644 --- a/src/Normalizer/ConfigMapConfigMapInputNormalizer.php +++ b/src/Normalizer/ConfigurationJsonldEditNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigMapConfigMapInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationJsonldEditNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ConfigMapConfigMapInputNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' === $type; + return $type === \Gyroscops\Api\Model\ConfigurationJsonldEdit::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ConfigurationJsonldEdit::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,33 +46,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigMapConfigMapInput(); + $object = new \Gyroscops\Api\Model\ConfigurationJsonldEdit(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - 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 = []) @@ -88,9 +91,6 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } - if (null !== $object->getConfigs()) { - $data['configs'] = $this->normalizer->normalize($object->getConfigs(), 'json', $context); - } return $data; } diff --git a/src/Normalizer/ConfigurationJsonldNormalizer.php b/src/Normalizer/ConfigurationJsonldNormalizer.php new file mode 100644 index 00000000..340c0616 --- /dev/null +++ b/src/Normalizer/ConfigurationJsonldNormalizer.php @@ -0,0 +1,143 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getSlug()) { + $data['slug'] = $object->getSlug(); + } + 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/SecretSecretInputJsonldNormalizer.php b/src/Normalizer/ConfigurationJsonldReadNormalizer.php similarity index 61% rename from src/Normalizer/SecretSecretInputJsonldNormalizer.php rename to src/Normalizer/ConfigurationJsonldReadNormalizer.php index 2bc8502b..8e29141d 100644 --- a/src/Normalizer/SecretSecretInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigurationJsonldReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretSecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class SecretSecretInputJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ConfigurationJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ConfigurationJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,42 +46,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretSecretInputJsonld(); + $object = new \Gyroscops\Api\Model\ConfigurationJsonldRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('contents', $data) && null !== $data['contents']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { $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']) { + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { $object->setContents(null); } @@ -93,9 +94,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -107,13 +105,6 @@ public function normalize($object, $format = null, array $context = []) 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/ConfigurationNormalizer.php b/src/Normalizer/ConfigurationNormalizer.php new file mode 100644 index 00000000..5e6f0be4 --- /dev/null +++ b/src/Normalizer/ConfigurationNormalizer.php @@ -0,0 +1,128 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getSlug()) { + $data['slug'] = $object->getSlug(); + } + 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/SecretSecretInputNormalizer.php b/src/Normalizer/ConfigurationReadNormalizer.php similarity index 66% rename from src/Normalizer/SecretSecretInputNormalizer.php rename to src/Normalizer/ConfigurationReadNormalizer.php index faff81fd..d3711d65 100644 --- a/src/Normalizer/SecretSecretInputNormalizer.php +++ b/src/Normalizer/ConfigurationReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class SecretSecretInputNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SecretSecretInput' === $type; + return $type === \Gyroscops\Api\Model\ConfigurationRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretSecretInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ConfigurationRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,27 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretSecretInput(); + $object = new \Gyroscops\Api\Model\ConfigurationRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('contents', $data) && null !== $data['contents']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { $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']) { + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { $object->setContents(null); } @@ -78,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -92,13 +90,6 @@ public function normalize($object, $format = null, array $context = []) 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/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php new file mode 100644 index 00000000..c975b86e --- /dev/null +++ b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php @@ -0,0 +1,129 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $values = []; + foreach ($data['contents'] as $value) { + $values[] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId2()) { + $data['id'] = $object->getId2(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + 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/ConfigurationRemoveConfigurationValueInputNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php new file mode 100644 index 00000000..78816b46 --- /dev/null +++ b/src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php @@ -0,0 +1,114 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $values = []; + foreach ($data['contents'] as $value) { + $values[] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + 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/ContextJsonldNormalizer.php b/src/Normalizer/ContextJsonldNormalizer.php index f3ace949..829f8962 100644 --- a/src/Normalizer/ContextJsonldNormalizer.php +++ b/src/Normalizer/ContextJsonldNormalizer.php @@ -27,19 +27,15 @@ class ContextJsonldNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ContextJsonld' === $type; + return $type === \Gyroscops\Api\Model\ContextJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ContextJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ContextJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('step', $data) && null !== $data['step']) { + if (\array_key_exists('step', $data) && $data['step'] !== null) { $object->setStep($data['step']); - } elseif (\array_key_exists('step', $data) && null === $data['step']) { + } elseif (\array_key_exists('step', $data) && $data['step'] === null) { $object->setStep(null); } - if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { + if (\array_key_exists('fixedScale', $data) && $data['fixedScale'] !== null) { $object->setFixedScale($data['fixedScale']); - } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { + } elseif (\array_key_exists('fixedScale', $data) && $data['fixedScale'] === null) { $object->setFixedScale(null); } @@ -84,13 +80,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ContextNormalizer.php b/src/Normalizer/ContextNormalizer.php index c6eb2bbb..8a18344c 100644 --- a/src/Normalizer/ContextNormalizer.php +++ b/src/Normalizer/ContextNormalizer.php @@ -27,19 +27,15 @@ class ContextNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Context' === $type; + return $type === \Gyroscops\Api\Model\Context::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Context' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Context::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('step', $data) && null !== $data['step']) { + if (\array_key_exists('step', $data) && $data['step'] !== null) { $object->setStep($data['step']); - } elseif (\array_key_exists('step', $data) && null === $data['step']) { + } elseif (\array_key_exists('step', $data) && $data['step'] === null) { $object->setStep(null); } - if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { + if (\array_key_exists('fixedScale', $data) && $data['fixedScale'] !== null) { $object->setFixedScale($data['fixedScale']); - } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { + } elseif (\array_key_exists('fixedScale', $data) && $data['fixedScale'] === null) { $object->setFixedScale(null); } @@ -69,13 +65,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ConfigMapJsonldNormalizer.php b/src/Normalizer/CreateSecretInputJsonldNormalizer.php similarity index 55% rename from src/Normalizer/ConfigMapJsonldNormalizer.php rename to src/Normalizer/CreateSecretInputJsonldNormalizer.php index 42cb51c1..073b32a9 100644 --- a/src/Normalizer/ConfigMapJsonldNormalizer.php +++ b/src/Normalizer/CreateSecretInputJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigMapJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CreateSecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ConfigMapJsonldNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ConfigMapJsonld' === $type; + return $type === \Gyroscops\Api\Model\CreateSecretInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\CreateSecretInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,53 +46,57 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigMapJsonld(); + $object = new \Gyroscops\Api\Model\CreateSecretInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $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']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $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']) { + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { $object->setIterator(null); } @@ -104,9 +104,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -118,6 +115,13 @@ public function normalize($object, $format = null, array $context = []) 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; + } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } diff --git a/src/Normalizer/SecretInputJsonldNormalizer.php b/src/Normalizer/CreateSecretInputNormalizer.php similarity index 57% rename from src/Normalizer/SecretInputJsonldNormalizer.php rename to src/Normalizer/CreateSecretInputNormalizer.php index 3055d340..540ca054 100644 --- a/src/Normalizer/SecretInputJsonldNormalizer.php +++ b/src/Normalizer/CreateSecretInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CreateSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class SecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SecretInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\CreateSecretInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\CreateSecretInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,52 +46,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretInputJsonld(); + $object = new \Gyroscops\Api\Model\CreateSecretInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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->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']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('contents', $data) && null !== $data['contents']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { $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']) { + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { $object->setContents(null); } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $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 = []) @@ -114,6 +107,15 @@ public function normalize($object, $format = null, array $context = []) } $data['contents'] = $values; } + 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/CredentialsNormalizer.php b/src/Normalizer/CredentialsNormalizer.php index 6afb84e2..bf2df86e 100644 --- a/src/Normalizer/CredentialsNormalizer.php +++ b/src/Normalizer/CredentialsNormalizer.php @@ -27,19 +27,15 @@ class CredentialsNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Credentials' === $type; + return $type === \Gyroscops\Api\Model\Credentials::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Credentials' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Credentials::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('username', $data) && null !== $data['username']) { + if (\array_key_exists('username', $data) && $data['username'] !== null) { $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { + } elseif (\array_key_exists('username', $data) && $data['username'] === null) { $object->setUsername(null); } - if (\array_key_exists('password', $data) && null !== $data['password']) { + if (\array_key_exists('password', $data) && $data['password'] !== null) { $object->setPassword($data['password']); - } elseif (\array_key_exists('password', $data) && null === $data['password']) { + } elseif (\array_key_exists('password', $data) && $data['password'] === null) { $object->setPassword(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } @@ -74,9 +70,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/CurrencyJsonldNormalizer.php b/src/Normalizer/CurrencyJsonldNormalizer.php index 8c07d666..65c97863 100644 --- a/src/Normalizer/CurrencyJsonldNormalizer.php +++ b/src/Normalizer/CurrencyJsonldNormalizer.php @@ -27,19 +27,15 @@ class CurrencyJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\CurrencyJsonld' === $type; + return $type === \Gyroscops\Api\Model\CurrencyJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\CurrencyJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\CurrencyJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,39 +50,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { + if (\array_key_exists('currencyCode', $data) && $data['currencyCode'] !== null) { $object->setCurrencyCode($data['currencyCode']); - } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { + } elseif (\array_key_exists('currencyCode', $data) && $data['currencyCode'] === null) { $object->setCurrencyCode(null); } - if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { + if (\array_key_exists('numericCode', $data) && $data['numericCode'] !== null) { $object->setNumericCode($data['numericCode']); - } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { + } elseif (\array_key_exists('numericCode', $data) && $data['numericCode'] === null) { $object->setNumericCode(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { + if (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] !== null) { $object->setDefaultFractionDigits($data['defaultFractionDigits']); - } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { + } elseif (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] === null) { $object->setDefaultFractionDigits(null); } @@ -94,9 +90,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/CurrencyNormalizer.php b/src/Normalizer/CurrencyNormalizer.php index 20cadfdb..bbdf42f5 100644 --- a/src/Normalizer/CurrencyNormalizer.php +++ b/src/Normalizer/CurrencyNormalizer.php @@ -27,19 +27,15 @@ class CurrencyNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Currency' === $type; + return $type === \Gyroscops\Api\Model\Currency::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Currency' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Currency::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { + if (\array_key_exists('currencyCode', $data) && $data['currencyCode'] !== null) { $object->setCurrencyCode($data['currencyCode']); - } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { + } elseif (\array_key_exists('currencyCode', $data) && $data['currencyCode'] === null) { $object->setCurrencyCode(null); } - if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { + if (\array_key_exists('numericCode', $data) && $data['numericCode'] !== null) { $object->setNumericCode($data['numericCode']); - } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { + } elseif (\array_key_exists('numericCode', $data) && $data['numericCode'] === null) { $object->setNumericCode(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { + if (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] !== null) { $object->setDefaultFractionDigits($data['defaultFractionDigits']); - } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { + } elseif (\array_key_exists('defaultFractionDigits', $data) && $data['defaultFractionDigits'] === null) { $object->setDefaultFractionDigits(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php new file mode 100644 index 00000000..c65b7ebb --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableFromConfigurationInputJsonld::class, 'json', $context); + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php new file mode 100644 index 00000000..de4b9583 --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php @@ -0,0 +1,90 @@ +denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableFromConfigurationInput::class, 'json', $context); + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php new file mode 100644 index 00000000..dcbba040 --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableFromConstantInputJsonld::class, 'json', $context); + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php similarity index 54% rename from src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php index 88198480..d49cc5a6 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromConstantInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('variables', $data) && $data['variables'] !== null) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableFromConstantInput::class, 'json', $context); + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); } - 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('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); + if (null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; } - if (null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); } return $data; diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php new file mode 100644 index 00000000..27e1c3a5 --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableFromSecretInputJsonld::class, 'json', $context); + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php new file mode 100644 index 00000000..3af97a9d --- /dev/null +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php @@ -0,0 +1,90 @@ +denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableFromSecretInput::class, 'json', $context); + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 67% rename from src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4fc37b38..da2e72ac 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,28 +46,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigurationsGetResponse200HydraSearchNormalizer.php similarity index 71% rename from src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php rename to src/Normalizer/EnvironmentConfigurationsGetResponse200HydraSearchNormalizer.php index b3548374..1ba7d821 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetResponse200HydraSearchNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentConfigurationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapIdPutPutResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearch(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigurationsGetResponse200HydraViewNormalizer.php similarity index 67% rename from src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php rename to src/Normalizer/EnvironmentConfigurationsGetResponse200HydraViewNormalizer.php index f9a1290f..29ef9681 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetResponse200HydraViewNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentConfigurationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapIdPutPutResponse200HydraView(); + $object = new \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraView(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigurationsGetResponse200Normalizer.php similarity index 67% rename from src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php rename to src/Normalizer/EnvironmentConfigurationsGetResponse200Normalizer.php index b7b4736b..f40c0396 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentConfigurationsGetResponse200Normalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapIdPutPutResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentConfigurationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapIdPutPutResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapIdPutPutResponse200(); + $object = new \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigMapJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ConfigurationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php new file mode 100644 index 00000000..264e989b --- /dev/null +++ b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php @@ -0,0 +1,121 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $value; + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $value; + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php new file mode 100644 index 00000000..dfa5ee4d --- /dev/null +++ b/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php @@ -0,0 +1,106 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + $values = []; + foreach ($data['variables'] as $value) { + $values[] = $value; + } + $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + $object->setVariables(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getVariables()) { + $values = []; + foreach ($object->getVariables() as $value) { + $values[] = $value; + } + $data['variables'] = $values; + } + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 9f1cca9c..aa170379 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php index 9524deef..a01e706e 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php index f548c4e6..1637d904 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class EnvironmentEnvironmentsGetResponse200HydraViewNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php index 7f077498..fd833b0c 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class EnvironmentEnvironmentsGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\EnvironmentJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\EnvironmentEnvironmentsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\EnvironmentEnvironmentsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 64% rename from src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItemNormalizer.php index b1d17d00..c5ba056c 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer i public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,28 +46,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchNormalizer.php similarity index 69% rename from src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php rename to src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchNormalizer.php index 14f3b075..9c6a8595 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapsGetResponse200HydraSearchNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapsGetResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraViewNormalizer.php similarity index 64% rename from src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php rename to src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraViewNormalizer.php index fc71eb3b..e5faddd8 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200HydraViewNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentEnvironmentsIdVariablesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapsGetResponse200HydraViewNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapsGetResponse200HydraView(); + $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraView(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200Normalizer.php similarity index 65% rename from src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php rename to src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200Normalizer.php index 8be9d278..c98312c8 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetResponse200Normalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentConfigMapsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentEnvironmentsIdVariablesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentConfigMapsGetResponse200Normalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentConfigMapsGetResponse200(); + $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigMapJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\VariableJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentJsonldNormalizer.php b/src/Normalizer/EnvironmentJsonldReadNormalizer.php similarity index 52% rename from src/Normalizer/EnvironmentJsonldNormalizer.php rename to src/Normalizer/EnvironmentJsonldReadNormalizer.php index 30df1f39..c1b9e667 100644 --- a/src/Normalizer/EnvironmentJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentJsonldReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentJsonldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentJsonld' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,67 +46,55 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentJsonld(); + $object = new \Gyroscops\Api\Model\EnvironmentJsonldRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - 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 = []) @@ -128,13 +112,6 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getWorkspace()) { $data['workspace'] = $object->getWorkspace(); } - if (null !== $object->getVariables()) { - $values = []; - foreach ($object->getVariables() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['variables'] = $values; - } return $data; } diff --git a/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php b/src/Normalizer/EnvironmentJsonldWriteNormalizer.php similarity index 54% rename from src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php rename to src/Normalizer/EnvironmentJsonldWriteNormalizer.php index bafaf1a6..334999b2 100644 --- a/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentJsonldWriteNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigMapConfigMapInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentJsonldWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ConfigMapConfigMapInputJsonldNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentJsonldWrite::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentJsonldWrite::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,48 +46,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld(); + $object = new \Gyroscops\Api\Model\EnvironmentJsonldWrite(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - 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 = []) @@ -103,9 +91,6 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } - if (null !== $object->getConfigs()) { - $data['configs'] = $this->normalizer->normalize($object->getConfigs(), 'json', $context); - } return $data; } diff --git a/src/Normalizer/ConfigMapNormalizer.php b/src/Normalizer/EnvironmentReadNormalizer.php similarity index 60% rename from src/Normalizer/ConfigMapNormalizer.php rename to src/Normalizer/EnvironmentReadNormalizer.php index 536ce907..685c5e07 100644 --- a/src/Normalizer/ConfigMapNormalizer.php +++ b/src/Normalizer/EnvironmentReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigMapNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ConfigMapNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ConfigMap' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMap' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,48 +46,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigMap(); + $object = new \Gyroscops\Api\Model\EnvironmentRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $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 = []) @@ -109,9 +97,6 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getWorkspace()) { $data['workspace'] = $object->getWorkspace(); } - if (null !== $object->getIterator()) { - $data['iterator'] = $object->getIterator(); - } return $data; } diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 9f84a7df..8bf68af9 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php index 26248714..fecb57c5 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class EnvironmentSecretsGetResponse200HydraSearchNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php index 761307b4..09081968 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class EnvironmentSecretsGetResponse200HydraViewNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php index 41bd343b..fca93a60 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class EnvironmentSecretsGetResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\SecretJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\EnvironmentSecretsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\EnvironmentSecretsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index c9726f94..00000000 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -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/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php deleted file mode 100644 index bb7a3896..00000000 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -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\\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 = []) - { - $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/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php deleted file mode 100644 index 88c258b6..00000000 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,121 +0,0 @@ -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/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php deleted file mode 100644 index e78a7099..00000000 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php +++ /dev/null @@ -1,111 +0,0 @@ -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) && 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\\EnvironmentVariableFromConfigMapsGetResponse200HydraView', '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\\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 = []) - { - $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/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php deleted file mode 100644 index 96e5178b..00000000 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -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/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php deleted file mode 100644 index f02a51f3..00000000 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php +++ /dev/null @@ -1,113 +0,0 @@ -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\\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 = []) - { - $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/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php deleted file mode 100644 index d3beabc2..00000000 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php +++ /dev/null @@ -1,121 +0,0 @@ -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/EnvironmentVariableFromSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php deleted file mode 100644 index 756bbd32..00000000 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php +++ /dev/null @@ -1,111 +0,0 @@ -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) && 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\\EnvironmentVariableFromSecretsGetResponse200HydraView', '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\\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 = []) - { - $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/EnvironmentWriteNormalizer.php b/src/Normalizer/EnvironmentWriteNormalizer.php new file mode 100644 index 00000000..2021d278 --- /dev/null +++ b/src/Normalizer/EnvironmentWriteNormalizer.php @@ -0,0 +1,82 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + + return $object; + } + + /** + * @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(); + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionActionJsonldNormalizer.php b/src/Normalizer/ExecutionActionJsonldNormalizer.php index a8307f01..b383f3e2 100644 --- a/src/Normalizer/ExecutionActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionActionJsonldNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionActionJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionActionJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('execution', $data) && null !== $data['execution']) { + if (\array_key_exists('execution', $data) && $data['execution'] !== null) { $object->setExecution($data['execution']); - } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } @@ -84,9 +80,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionActionNormalizer.php b/src/Normalizer/ExecutionActionNormalizer.php index 64893b09..cb87a45d 100644 --- a/src/Normalizer/ExecutionActionNormalizer.php +++ b/src/Normalizer/ExecutionActionNormalizer.php @@ -27,19 +27,15 @@ class ExecutionActionNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionAction' === $type; + return $type === \Gyroscops\Api\Model\ExecutionAction::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionAction' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionAction::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data) && null !== $data['execution']) { + if (\array_key_exists('execution', $data) && $data['execution'] !== null) { $object->setExecution($data['execution']); - } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } @@ -69,9 +65,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php index f053b7bc..ffb883dc 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer implements D public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { + if (\array_key_exists('schedule', $data) && $data['schedule'] !== null) { $object->setSchedule($data['schedule']); - } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + } elseif (\array_key_exists('schedule', $data) && $data['schedule'] === null) { $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } @@ -84,20 +80,13 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getSchedule()) { - $data['schedule'] = $object->getSchedule(); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } + $data['schedule'] = $object->getSchedule(); + $data['pipeline'] = $object->getPipeline(); return $data; } diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php index 043f1769..6650adc1 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php @@ -27,19 +27,15 @@ class ExecutionDeclarePipelineExecutionCommandInputNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' === $type; + return $type === \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { + if (\array_key_exists('schedule', $data) && $data['schedule'] !== null) { $object->setSchedule($data['schedule']); - } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + } elseif (\array_key_exists('schedule', $data) && $data['schedule'] === null) { $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } @@ -69,20 +65,13 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getSchedule()) { - $data['schedule'] = $object->getSchedule(); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } + $data['schedule'] = $object->getSchedule(); + $data['pipeline'] = $object->getPipeline(); return $data; } diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php index 60398dff..c918860c 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php index bd6d5079..94fe1c36 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,31 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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 = []) { $data = []; - if (null !== $object->getExecution()) { - $data['execution'] = $object->getExecution(); - } return $data; } diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php index 151f92d5..41579b23 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php index 4647dc7a..00ce7094 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,31 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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 = []) { $data = []; - if (null !== $object->getExecution()) { - $data['execution'] = $object->getExecution(); - } return $data; } diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php index ac49d5af..737f42fe 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionJsonldReadNormalizer.php b/src/Normalizer/ExecutionJsonldReadNormalizer.php index 5e2e76cc..bfb8ee49 100644 --- a/src/Normalizer/ExecutionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionJsonldReadNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,104 +50,86 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('status', $data) && null !== $data['status']) { + if (\array_key_exists('status', $data) && $data['status'] !== null) { $object->setStatus($data['status']); - } elseif (\array_key_exists('status', $data) && null === $data['status']) { + } elseif (\array_key_exists('status', $data) && $data['status'] === null) { $object->setStatus(null); } - if (\array_key_exists('errors', $data) && null !== $data['errors']) { + if (\array_key_exists('errors', $data) && $data['errors'] !== null) { $object->setErrors($data['errors']); - } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + } elseif (\array_key_exists('errors', $data) && $data['errors'] === null) { $object->setErrors(null); } - if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { + if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { + } elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { + if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { + } elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { + if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { + } elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { + if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { + } elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { + if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { + } elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { + if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { + } elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { + if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { + } elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && null !== $data['reason']) { + if (\array_key_exists('reason', $data) && $data['reason'] !== null) { $object->setReason($data['reason']); - } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { $object->setReason(null); } - 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('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('action', $data) && null !== $data['action']) { - $object->setAction($data['action']); - } 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 = []) @@ -181,9 +159,6 @@ public function normalize($object, $format = null, array $context = []) $data['terminatedAt'] = $object->getTerminatedAt()->format('Y-m-d\\TH:i:sP'); } $data['reason'] = $object->getReason(); - $data['pipeline'] = $object->getPipeline(); - $data['workflow'] = $object->getWorkflow(); - $data['action'] = $object->getAction(); return $data; } diff --git a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php index 6d4c620b..fe439324 100644 --- a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionPipelineJobJsonldNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionPipelineJobJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionPipelineJobJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,38 +50,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -93,9 +89,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionPipelineJobNormalizer.php b/src/Normalizer/ExecutionPipelineJobNormalizer.php index 48a1d02b..74a939e6 100644 --- a/src/Normalizer/ExecutionPipelineJobNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobNormalizer.php @@ -27,19 +27,15 @@ class ExecutionPipelineJobNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' === $type; + return $type === \Gyroscops\Api\Model\ExecutionPipelineJob::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionPipelineJob::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,23 +50,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -78,9 +74,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php index e041c056..9f04f507 100644 --- a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionPipelineJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionPipelineJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionPipelineJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,38 +50,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('execution', $data) && null !== $data['execution']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('execution', $data) && $data['execution'] !== null) { $object->setExecution($data['execution']); - } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -93,9 +89,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionPipelineNormalizer.php b/src/Normalizer/ExecutionPipelineNormalizer.php index 22bd4a07..fb29a5b9 100644 --- a/src/Normalizer/ExecutionPipelineNormalizer.php +++ b/src/Normalizer/ExecutionPipelineNormalizer.php @@ -27,19 +27,15 @@ class ExecutionPipelineNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionPipeline' === $type; + return $type === \Gyroscops\Api\Model\ExecutionPipeline::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipeline' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionPipeline::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,23 +50,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data) && null !== $data['execution']) { + if (\array_key_exists('execution', $data) && $data['execution'] !== null) { $object->setExecution($data['execution']); - } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -78,9 +74,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php index e0bc939c..f12e7675 100644 --- a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionPipelineStepJsonldNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionPipelineStepJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionPipelineStepJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,38 +50,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - 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']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], \Gyroscops\Api\Model\AbstractPipelineJsonld::class, 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + if (\array_key_exists('metrics', $data) && $data['metrics'] !== null) { $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); - } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + } elseif (\array_key_exists('metrics', $data) && $data['metrics'] === null) { $object->setMetrics(null); } @@ -93,9 +89,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionPipelineStepNormalizer.php b/src/Normalizer/ExecutionPipelineStepNormalizer.php index 80e0f745..6a72a22d 100644 --- a/src/Normalizer/ExecutionPipelineStepNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepNormalizer.php @@ -27,19 +27,15 @@ class ExecutionPipelineStepNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' === $type; + return $type === \Gyroscops\Api\Model\ExecutionPipelineStep::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionPipelineStep::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,23 +50,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - 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']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], \Gyroscops\Api\Model\AbstractPipeline::class, 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + if (\array_key_exists('metrics', $data) && $data['metrics'] !== null) { $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); - } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + } elseif (\array_key_exists('metrics', $data) && $data['metrics'] === null) { $object->setMetrics(null); } @@ -78,9 +74,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionReadNormalizer.php b/src/Normalizer/ExecutionReadNormalizer.php index f27ddba5..63a07664 100644 --- a/src/Normalizer/ExecutionReadNormalizer.php +++ b/src/Normalizer/ExecutionReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,89 +50,71 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('status', $data) && null !== $data['status']) { + if (\array_key_exists('status', $data) && $data['status'] !== null) { $object->setStatus($data['status']); - } elseif (\array_key_exists('status', $data) && null === $data['status']) { + } elseif (\array_key_exists('status', $data) && $data['status'] === null) { $object->setStatus(null); } - if (\array_key_exists('errors', $data) && null !== $data['errors']) { + if (\array_key_exists('errors', $data) && $data['errors'] !== null) { $object->setErrors($data['errors']); - } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + } elseif (\array_key_exists('errors', $data) && $data['errors'] === null) { $object->setErrors(null); } - if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { + if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { + } elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { + if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { + } elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { + if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { + } elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { + if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { + } elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { + if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { + } elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { + if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { + } elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { + if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { + } elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && null !== $data['reason']) { + if (\array_key_exists('reason', $data) && $data['reason'] !== null) { $object->setReason($data['reason']); - } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { $object->setReason(null); } - 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('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('action', $data) && null !== $data['action']) { - $object->setAction($data['action']); - } 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 = []) @@ -166,9 +144,6 @@ public function normalize($object, $format = null, array $context = []) $data['terminatedAt'] = $object->getTerminatedAt()->format('Y-m-d\\TH:i:sP'); } $data['reason'] = $object->getReason(); - $data['pipeline'] = $object->getPipeline(); - $data['workflow'] = $object->getWorkflow(); - $data['action'] = $object->getAction(); return $data; } diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php index 11716adc..16941e1d 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionResumePipelineExecutionCommandInputJsonldNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,31 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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 = []) { $data = []; - if (null !== $object->getExecution()) { - $data['execution'] = $object->getExecution(); - } return $data; } diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php index 65ebf0cb..067299c7 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionResumePipelineExecutionCommandJsonldReadNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php index 7bb9d5c5..8fe842d1 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionStartPipelineExecutionCommandInputJsonldNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,31 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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 = []) { $data = []; - if (null !== $object->getExecution()) { - $data['execution'] = $object->getExecution(); - } return $data; } diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php index 46d16d6d..37abac9f 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionStartPipelineExecutionCommandJsonldReadNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php index e2adb643..074ed022 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && null !== $data['reason']) { + if (\array_key_exists('reason', $data) && $data['reason'] !== null) { $object->setReason($data['reason']); - } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { $object->setReason(null); } @@ -84,20 +75,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getExecution()) { - $data['execution'] = $object->getExecution(); - } - if (null !== $object->getReason()) { - $data['reason'] = $object->getReason(); - } + $data['reason'] = $object->getReason(); return $data; } diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php index 4dbb6be7..802f1d4a 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php @@ -27,19 +27,15 @@ class ExecutionTerminatePipelineExecutionCommandInputNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' === $type; + return $type === \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && null !== $data['reason']) { + if (\array_key_exists('reason', $data) && $data['reason'] !== null) { $object->setReason($data['reason']); - } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { $object->setReason(null); } @@ -69,20 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getExecution()) { - $data['execution'] = $object->getExecution(); - } - if (null !== $object->getReason()) { - $data['reason'] = $object->getReason(); - } + $data['reason'] = $object->getReason(); return $data; } diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php index e1b0c1ec..78376b80 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php index 41a57e89..f411657b 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer implemen public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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']) { + if (\array_key_exists('stepsUpdates', $data) && $data['stepsUpdates'] !== null) { + $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], \Gyroscops\Api\Model\UpdateListJsonld::class, 'json', $context)); + } elseif (\array_key_exists('stepsUpdates', $data) && $data['stepsUpdates'] === null) { $object->setStepsUpdates(null); } @@ -84,20 +75,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getExecution()) { - $data['execution'] = $object->getExecution(); - } - if (null !== $object->getStepsUpdates()) { - $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); - } + $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); return $data; } diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php index d93aef28..7a47735e 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php @@ -27,19 +27,15 @@ class ExecutionUpdatePipelineExecutionStateCommandInputNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' === $type; + return $type === \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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']) { + if (\array_key_exists('stepsUpdates', $data) && $data['stepsUpdates'] !== null) { + $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], \Gyroscops\Api\Model\UpdateList::class, 'json', $context)); + } elseif (\array_key_exists('stepsUpdates', $data) && $data['stepsUpdates'] === null) { $object->setStepsUpdates(null); } @@ -69,20 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getExecution()) { - $data['execution'] = $object->getExecution(); - } - if (null !== $object->getStepsUpdates()) { - $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); - } + $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); return $data; } diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php index c45e1478..1c2dcb0f 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer implement public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php index ea44246a..05944e8f 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionWorkflowJobActionJsonldNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } @@ -84,9 +80,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php index b6b8fbb9..6f1cd857 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php @@ -27,19 +27,15 @@ class ExecutionWorkflowJobActionNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' === $type; + return $type === \Gyroscops\Api\Model\ExecutionWorkflowJobAction::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionWorkflowJobAction::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } @@ -69,9 +65,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php index dbff8d90..d7650b79 100644 --- a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionWorkflowJobJsonldNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,39 +50,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { $object->setWorkflow($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && null !== $data['action']) { + if (\array_key_exists('action', $data) && $data['action'] !== null) { $object->setAction($data['action']); - } elseif (\array_key_exists('action', $data) && null === $data['action']) { + } elseif (\array_key_exists('action', $data) && $data['action'] === null) { $object->setAction(null); } @@ -94,9 +90,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionWorkflowJobNormalizer.php b/src/Normalizer/ExecutionWorkflowJobNormalizer.php index 0c981821..bd3610fa 100644 --- a/src/Normalizer/ExecutionWorkflowJobNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobNormalizer.php @@ -27,19 +27,15 @@ class ExecutionWorkflowJobNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' === $type; + return $type === \Gyroscops\Api\Model\ExecutionWorkflowJob::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionWorkflowJob::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { $object->setWorkflow($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && null !== $data['action']) { + if (\array_key_exists('action', $data) && $data['action'] !== null) { $object->setAction($data['action']); - } elseif (\array_key_exists('action', $data) && null === $data['action']) { + } elseif (\array_key_exists('action', $data) && $data['action'] === null) { $object->setAction(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php index 9fe5483c..c7adf5f4 100644 --- a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php @@ -27,19 +27,15 @@ class ExecutionWorkflowJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' === $type; + return $type === \Gyroscops\Api\Model\ExecutionWorkflowJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionWorkflowJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,38 +50,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } $object->setJobs($values); - } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { $object->setJobs(null); } - if (\array_key_exists('execution', $data) && null !== $data['execution']) { + if (\array_key_exists('execution', $data) && $data['execution'] !== null) { $object->setExecution($data['execution']); - } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { $object->setExecution(null); } @@ -93,9 +89,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ExecutionWorkflowNormalizer.php b/src/Normalizer/ExecutionWorkflowNormalizer.php index c788d288..6ac9213a 100644 --- a/src/Normalizer/ExecutionWorkflowNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowNormalizer.php @@ -27,19 +27,15 @@ class ExecutionWorkflowNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionWorkflow' === $type; + return $type === \Gyroscops\Api\Model\ExecutionWorkflow::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflow' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ExecutionWorkflow::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,23 +50,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } $object->setJobs($values); - } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { $object->setJobs(null); } - if (\array_key_exists('execution', $data) && null !== $data['execution']) { + if (\array_key_exists('execution', $data) && $data['execution'] !== null) { $object->setExecution($data['execution']); - } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { $object->setExecution(null); } @@ -78,9 +74,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php index faf91a81..be67ef67 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php index 301cb45b..27b3c086 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php index 63d05891..50ebdad7 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer implements D public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php index 9bb0db95..4014989d 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceFromUrlGetResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoInstanceJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php index 352723d7..e55ad931 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNo public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php index 33cc4bda..84b7a32f 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer impleme public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php index 68f6c31f..18ea0fb7 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer implement public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php index 7a9edc04..8e1f9285 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstanceOauthStateGetResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoInstanceJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0a909b1f..b033cb03 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php index 27f73468..78bada30 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php index 3c95d2f0..2d647710 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstancesGetResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php index 50f7a617..57cc48cc 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoInstancesGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoInstanceJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php index 315a43b2..f3d2e5d0 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php index d0a3cce1..fc17f12f 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php index b219da01..d81718b9 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php index 188ba4ba..181b82a9 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php index acd26cfe..b7ea6332 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php index 050361f2..09338d5c 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php index 7ceb8941..91f86b36 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php index 0f74bff7..278cbf8e 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoLinkedAccountsGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php index b34616e4..159daf21 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php index 60a42ce2..34455afb 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php index fe999f1b..6e713f5a 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php index cc909c8a..e7dedb51 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthStatesGetResponse200Normalizer implements DenormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoOauthTokenJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php index 7adb8158..5895d29d 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php index a3802bda..e2342588 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php index f4800dd2..f08a7984 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php index 7c0d73dc..4475639b 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInputJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php index d2358681..122f8b74 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php index c295bef3..28eba4c4 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php index 90770518..eebe98a3 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php index 413da97e..ada87f40 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php @@ -27,19 +27,15 @@ class GatewayAkeneoOauthTokenPutResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200' === $type; + return $type === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenOutputJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/JaneObjectNormalizer.php b/src/Normalizer/JaneObjectNormalizer.php index 7dbea6d2..66d444d1 100644 --- a/src/Normalizer/JaneObjectNormalizer.php +++ b/src/Normalizer/JaneObjectNormalizer.php @@ -23,23 +23,20 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; - 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\\RuntimePipelineIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', '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 $normalizers = [\Gyroscops\Api\Model\AbstractPipeline::class => \Gyroscops\Api\Normalizer\AbstractPipelineNormalizer::class, \Gyroscops\Api\Model\AbstractPipelineJsonld::class => \Gyroscops\Api\Normalizer\AbstractPipelineJsonldNormalizer::class, \Gyroscops\Api\Model\ActionRead::class => \Gyroscops\Api\Normalizer\ActionReadNormalizer::class, \Gyroscops\Api\Model\ActionJsonldRead::class => \Gyroscops\Api\Normalizer\ActionJsonldReadNormalizer::class, \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInput::class => \Gyroscops\Api\Normalizer\AddPipelineComposerAuthCommandInputNormalizer::class, \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInputJsonld::class => \Gyroscops\Api\Normalizer\AddPipelineComposerAuthCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInput::class => \Gyroscops\Api\Normalizer\AddPipelineComposerRepositoryCommandInputNormalizer::class, \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInputJsonld::class => \Gyroscops\Api\Normalizer\AddPipelineComposerRepositoryCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoInstance::class => \Gyroscops\Api\Normalizer\AkeneoInstanceNormalizer::class, \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput::class => \Gyroscops\Api\Normalizer\AkeneoInstanceAkeneoInstanceInputNormalizer::class, \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld::class => \Gyroscops\Api\Normalizer\AkeneoInstanceAkeneoInstanceInputJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoInstanceJsonld::class => \Gyroscops\Api\Normalizer\AkeneoInstanceJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoLinkedAccount::class => \Gyroscops\Api\Normalizer\AkeneoLinkedAccountNormalizer::class, \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput::class => \Gyroscops\Api\Normalizer\AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer::class, \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld::class => \Gyroscops\Api\Normalizer\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoLinkedAccountJsonld::class => \Gyroscops\Api\Normalizer\AkeneoLinkedAccountJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenRead::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenReadNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenOauthStateInputNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenOauthStateInputJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateOutputJsonldRead::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenOauthTokenInputNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInputJsonld::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenOauthTokenInputJsonldNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenOutputJsonldRead::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer::class, \Gyroscops\Api\Model\AkeneoOauthTokenJsonldRead::class => \Gyroscops\Api\Normalizer\AkeneoOauthTokenJsonldReadNormalizer::class, \Gyroscops\Api\Model\AutoloadInput::class => \Gyroscops\Api\Normalizer\AutoloadInputNormalizer::class, \Gyroscops\Api\Model\AutoloadInputJsonld::class => \Gyroscops\Api\Normalizer\AutoloadInputJsonldNormalizer::class, \Gyroscops\Api\Model\BigDecimal::class => \Gyroscops\Api\Normalizer\BigDecimalNormalizer::class, \Gyroscops\Api\Model\BigDecimalJsonld::class => \Gyroscops\Api\Normalizer\BigDecimalJsonldNormalizer::class, \Gyroscops\Api\Model\BigInteger::class => \Gyroscops\Api\Normalizer\BigIntegerNormalizer::class, \Gyroscops\Api\Model\BigIntegerJsonld::class => \Gyroscops\Api\Normalizer\BigIntegerJsonldNormalizer::class, \Gyroscops\Api\Model\BigNumber::class => \Gyroscops\Api\Normalizer\BigNumberNormalizer::class, \Gyroscops\Api\Model\BigNumberJsonld::class => \Gyroscops\Api\Normalizer\BigNumberJsonldNormalizer::class, \Gyroscops\Api\Model\Compilation::class => \Gyroscops\Api\Normalizer\CompilationNormalizer::class, \Gyroscops\Api\Model\CompilationCompilePipelineCommand::class => \Gyroscops\Api\Normalizer\CompilationCompilePipelineCommandNormalizer::class, \Gyroscops\Api\Model\CompilationCompilePipelineCommandJsonld::class => \Gyroscops\Api\Normalizer\CompilationCompilePipelineCommandJsonldNormalizer::class, \Gyroscops\Api\Model\CompilationCompilePipelineCommandInput::class => \Gyroscops\Api\Normalizer\CompilationCompilePipelineCommandInputNormalizer::class, \Gyroscops\Api\Model\CompilationCompilePipelineCommandInputJsonld::class => \Gyroscops\Api\Normalizer\CompilationCompilePipelineCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\CompilationJsonld::class => \Gyroscops\Api\Normalizer\CompilationJsonldNormalizer::class, \Gyroscops\Api\Model\Configuration::class => \Gyroscops\Api\Normalizer\ConfigurationNormalizer::class, \Gyroscops\Api\Model\ConfigurationEdit::class => \Gyroscops\Api\Normalizer\ConfigurationEditNormalizer::class, \Gyroscops\Api\Model\ConfigurationRead::class => \Gyroscops\Api\Normalizer\ConfigurationReadNormalizer::class, \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInput::class => \Gyroscops\Api\Normalizer\ConfigurationChangeConfigurationValueInputNormalizer::class, \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonld::class => \Gyroscops\Api\Normalizer\ConfigurationChangeConfigurationValueInputJsonldNormalizer::class, \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput::class => \Gyroscops\Api\Normalizer\ConfigurationCreateConfigurationInputNormalizer::class, \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld::class => \Gyroscops\Api\Normalizer\ConfigurationCreateConfigurationInputJsonldNormalizer::class, \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput::class => \Gyroscops\Api\Normalizer\ConfigurationRemoveConfigurationValueInputNormalizer::class, \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonld::class => \Gyroscops\Api\Normalizer\ConfigurationRemoveConfigurationValueInputJsonldNormalizer::class, \Gyroscops\Api\Model\ConfigurationJsonld::class => \Gyroscops\Api\Normalizer\ConfigurationJsonldNormalizer::class, \Gyroscops\Api\Model\ConfigurationJsonldEdit::class => \Gyroscops\Api\Normalizer\ConfigurationJsonldEditNormalizer::class, \Gyroscops\Api\Model\ConfigurationJsonldRead::class => \Gyroscops\Api\Normalizer\ConfigurationJsonldReadNormalizer::class, \Gyroscops\Api\Model\ConfigurationIdJsonld::class => \Gyroscops\Api\Normalizer\ConfigurationIdJsonldNormalizer::class, \Gyroscops\Api\Model\Context::class => \Gyroscops\Api\Normalizer\ContextNormalizer::class, \Gyroscops\Api\Model\ContextJsonld::class => \Gyroscops\Api\Normalizer\ContextJsonldNormalizer::class, \Gyroscops\Api\Model\CreateSecretInput::class => \Gyroscops\Api\Normalizer\CreateSecretInputNormalizer::class, \Gyroscops\Api\Model\CreateSecretInputJsonld::class => \Gyroscops\Api\Normalizer\CreateSecretInputJsonldNormalizer::class, \Gyroscops\Api\Model\Currency::class => \Gyroscops\Api\Normalizer\CurrencyNormalizer::class, \Gyroscops\Api\Model\CurrencyJsonld::class => \Gyroscops\Api\Normalizer\CurrencyJsonldNormalizer::class, \Gyroscops\Api\Model\EnvironmentRead::class => \Gyroscops\Api\Normalizer\EnvironmentReadNormalizer::class, \Gyroscops\Api\Model\EnvironmentWrite::class => \Gyroscops\Api\Normalizer\EnvironmentWriteNormalizer::class, \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput::class => \Gyroscops\Api\Normalizer\EnvironmentAddMultipleVariableFromConfigurationInputNormalizer::class, \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonld::class => \Gyroscops\Api\Normalizer\EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer::class, \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput::class => \Gyroscops\Api\Normalizer\EnvironmentAddMultipleVariableFromConstantInputNormalizer::class, \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonld::class => \Gyroscops\Api\Normalizer\EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer::class, \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput::class => \Gyroscops\Api\Normalizer\EnvironmentAddMultipleVariableFromSecretInputNormalizer::class, \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonld::class => \Gyroscops\Api\Normalizer\EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer::class, \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput::class => \Gyroscops\Api\Normalizer\EnvironmentCreateEnvironmentInputNormalizer::class, \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld::class => \Gyroscops\Api\Normalizer\EnvironmentCreateEnvironmentInputJsonldNormalizer::class, \Gyroscops\Api\Model\EnvironmentJsonldRead::class => \Gyroscops\Api\Normalizer\EnvironmentJsonldReadNormalizer::class, \Gyroscops\Api\Model\EnvironmentJsonldWrite::class => \Gyroscops\Api\Normalizer\EnvironmentJsonldWriteNormalizer::class, \Gyroscops\Api\Model\ExecutionRead::class => \Gyroscops\Api\Normalizer\ExecutionReadNormalizer::class, \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput::class => \Gyroscops\Api\Normalizer\ExecutionDeclarePipelineExecutionCommandInputNormalizer::class, \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionStartPipelineExecutionCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionStartPipelineExecutionCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput::class => \Gyroscops\Api\Normalizer\ExecutionTerminatePipelineExecutionCommandInputNormalizer::class, \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput::class => \Gyroscops\Api\Normalizer\ExecutionUpdatePipelineExecutionStateCommandInputNormalizer::class, \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionJsonldRead::class => \Gyroscops\Api\Normalizer\ExecutionJsonldReadNormalizer::class, \Gyroscops\Api\Model\ExecutionAction::class => \Gyroscops\Api\Normalizer\ExecutionActionNormalizer::class, \Gyroscops\Api\Model\ExecutionActionJsonld::class => \Gyroscops\Api\Normalizer\ExecutionActionJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionPipeline::class => \Gyroscops\Api\Normalizer\ExecutionPipelineNormalizer::class, \Gyroscops\Api\Model\ExecutionPipelineJsonld::class => \Gyroscops\Api\Normalizer\ExecutionPipelineJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionPipelineJob::class => \Gyroscops\Api\Normalizer\ExecutionPipelineJobNormalizer::class, \Gyroscops\Api\Model\ExecutionPipelineJobJsonld::class => \Gyroscops\Api\Normalizer\ExecutionPipelineJobJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionPipelineStep::class => \Gyroscops\Api\Normalizer\ExecutionPipelineStepNormalizer::class, \Gyroscops\Api\Model\ExecutionPipelineStepJsonld::class => \Gyroscops\Api\Normalizer\ExecutionPipelineStepJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionWorkflow::class => \Gyroscops\Api\Normalizer\ExecutionWorkflowNormalizer::class, \Gyroscops\Api\Model\ExecutionWorkflowJsonld::class => \Gyroscops\Api\Normalizer\ExecutionWorkflowJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionWorkflowJob::class => \Gyroscops\Api\Normalizer\ExecutionWorkflowJobNormalizer::class, \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld::class => \Gyroscops\Api\Normalizer\ExecutionWorkflowJobJsonldNormalizer::class, \Gyroscops\Api\Model\ExecutionWorkflowJobAction::class => \Gyroscops\Api\Normalizer\ExecutionWorkflowJobActionNormalizer::class, \Gyroscops\Api\Model\ExecutionWorkflowJobActionJsonld::class => \Gyroscops\Api\Normalizer\ExecutionWorkflowJobActionJsonldNormalizer::class, \Gyroscops\Api\Model\Money::class => \Gyroscops\Api\Normalizer\MoneyNormalizer::class, \Gyroscops\Api\Model\MoneyJsonld::class => \Gyroscops\Api\Normalizer\MoneyJsonldNormalizer::class, \Gyroscops\Api\Model\Offer::class => \Gyroscops\Api\Normalizer\OfferNormalizer::class, \Gyroscops\Api\Model\OfferJsonld::class => \Gyroscops\Api\Normalizer\OfferJsonldNormalizer::class, \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead::class => \Gyroscops\Api\Normalizer\OnPremiseRequestOnPremiseRequestReadNormalizer::class, \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite::class => \Gyroscops\Api\Normalizer\OnPremiseRequestOnPremiseRequestWriteNormalizer::class, \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead::class => \Gyroscops\Api\Normalizer\OnPremiseRequestJsonldOnPremiseRequestReadNormalizer::class, \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite::class => \Gyroscops\Api\Normalizer\OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer::class, \Gyroscops\Api\Model\Option::class => \Gyroscops\Api\Normalizer\OptionNormalizer::class, \Gyroscops\Api\Model\OptionJsonld::class => \Gyroscops\Api\Normalizer\OptionJsonldNormalizer::class, \Gyroscops\Api\Model\Organization::class => \Gyroscops\Api\Normalizer\OrganizationNormalizer::class, \Gyroscops\Api\Model\OrganizationJsonld::class => \Gyroscops\Api\Normalizer\OrganizationJsonldNormalizer::class, \Gyroscops\Api\Model\OrganizationIdJsonld::class => \Gyroscops\Api\Normalizer\OrganizationIdJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineRead::class => \Gyroscops\Api\Normalizer\PipelineReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddAfterPipelineStepCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddAfterPipelineStepCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddAfterPipelineStepCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddBeforePipelineStepCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddBeforePipelineStepCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddBeforePipelineStepCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerAuthCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerPackageCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerRepositoryCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineStepProbCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineStepProbCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineAppendPipelineStepCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput::class => \Gyroscops\Api\Normalizer\PipelineAppendPipelineStepCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineAppendPipelineStepCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineCompilePipelineCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput::class => \Gyroscops\Api\Normalizer\PipelineCompilePipelineCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineCompilePipelineCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineDeclarePipelineCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput::class => \Gyroscops\Api\Normalizer\PipelineDeclarePipelineCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineDeclarePipelineCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput::class => \Gyroscops\Api\Normalizer\PipelineMoveAfterPipelineStepCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput::class => \Gyroscops\Api\Normalizer\PipelineMoveBeforePipelineStepCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerAuthCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInput::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerPackageCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerRepositoryCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineRemovePipelineStepProbeCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineReorderPipelineStepsCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput::class => \Gyroscops\Api\Normalizer\PipelineReorderPipelineStepsCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineReorderPipelineStepsCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineReplacePipelineStepCommandJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput::class => \Gyroscops\Api\Normalizer\PipelineReplacePipelineStepCommandInputNormalizer::class, \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld::class => \Gyroscops\Api\Normalizer\PipelineReplacePipelineStepCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineJsonldRead::class => \Gyroscops\Api\Normalizer\PipelineJsonldReadNormalizer::class, \Gyroscops\Api\Model\PipelineIdJsonld::class => \Gyroscops\Api\Normalizer\PipelineIdJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineStep::class => \Gyroscops\Api\Normalizer\PipelineStepNormalizer::class, \Gyroscops\Api\Model\PipelineStepJsonld::class => \Gyroscops\Api\Normalizer\PipelineStepJsonldNormalizer::class, \Gyroscops\Api\Model\PipelineStepProbe::class => \Gyroscops\Api\Normalizer\PipelineStepProbeNormalizer::class, \Gyroscops\Api\Model\PipelineStepProbeJsonld::class => \Gyroscops\Api\Normalizer\PipelineStepProbeJsonldNormalizer::class, \Gyroscops\Api\Model\Price::class => \Gyroscops\Api\Normalizer\PriceNormalizer::class, \Gyroscops\Api\Model\PriceJsonld::class => \Gyroscops\Api\Normalizer\PriceJsonldNormalizer::class, \Gyroscops\Api\Model\Probe::class => \Gyroscops\Api\Normalizer\ProbeNormalizer::class, \Gyroscops\Api\Model\ProbeJsonld::class => \Gyroscops\Api\Normalizer\ProbeJsonldNormalizer::class, \Gyroscops\Api\Model\ReferralCodeReferralCodeRead::class => \Gyroscops\Api\Normalizer\ReferralCodeReferralCodeReadNormalizer::class, \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite::class => \Gyroscops\Api\Normalizer\ReferralCodeReferralCodeWriteNormalizer::class, \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead::class => \Gyroscops\Api\Normalizer\ReferralCodeJsonldReferralCodeReadNormalizer::class, \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite::class => \Gyroscops\Api\Normalizer\ReferralCodeJsonldReferralCodeWriteNormalizer::class, \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class => \Gyroscops\Api\Normalizer\ReferralRequestReferralRequestReadNormalizer::class, \Gyroscops\Api\Model\ReferralRequestReferralRequestInput::class => \Gyroscops\Api\Normalizer\ReferralRequestReferralRequestInputNormalizer::class, \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld::class => \Gyroscops\Api\Normalizer\ReferralRequestReferralRequestInputJsonldNormalizer::class, \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead::class => \Gyroscops\Api\Normalizer\ReferralRequestJsonldReferralRequestReadNormalizer::class, \Gyroscops\Api\Model\Schedule::class => \Gyroscops\Api\Normalizer\ScheduleNormalizer::class, \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput::class => \Gyroscops\Api\Normalizer\ScheduleDeclarePipelineScheduleCommandInputNormalizer::class, \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld::class => \Gyroscops\Api\Normalizer\ScheduleDeclarePipelineScheduleCommandInputJsonldNormalizer::class, \Gyroscops\Api\Model\ScheduleScheduleCommandInterfaceJsonld::class => \Gyroscops\Api\Normalizer\ScheduleScheduleCommandInterfaceJsonldNormalizer::class, \Gyroscops\Api\Model\ScheduleJsonld::class => \Gyroscops\Api\Normalizer\ScheduleJsonldNormalizer::class, \Gyroscops\Api\Model\Secret::class => \Gyroscops\Api\Normalizer\SecretNormalizer::class, \Gyroscops\Api\Model\SecretEdit::class => \Gyroscops\Api\Normalizer\SecretEditNormalizer::class, \Gyroscops\Api\Model\SecretRead::class => \Gyroscops\Api\Normalizer\SecretReadNormalizer::class, \Gyroscops\Api\Model\SecretChangeSecretValueInput::class => \Gyroscops\Api\Normalizer\SecretChangeSecretValueInputNormalizer::class, \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonld::class => \Gyroscops\Api\Normalizer\SecretChangeSecretValueInputJsonldNormalizer::class, \Gyroscops\Api\Model\SecretCreateSecretInput::class => \Gyroscops\Api\Normalizer\SecretCreateSecretInputNormalizer::class, \Gyroscops\Api\Model\SecretCreateSecretInputJsonld::class => \Gyroscops\Api\Normalizer\SecretCreateSecretInputJsonldNormalizer::class, \Gyroscops\Api\Model\SecretRemoveSecretValueInput::class => \Gyroscops\Api\Normalizer\SecretRemoveSecretValueInputNormalizer::class, \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonld::class => \Gyroscops\Api\Normalizer\SecretRemoveSecretValueInputJsonldNormalizer::class, \Gyroscops\Api\Model\SecretJsonld::class => \Gyroscops\Api\Normalizer\SecretJsonldNormalizer::class, \Gyroscops\Api\Model\SecretJsonldEdit::class => \Gyroscops\Api\Normalizer\SecretJsonldEditNormalizer::class, \Gyroscops\Api\Model\SecretJsonldRead::class => \Gyroscops\Api\Normalizer\SecretJsonldReadNormalizer::class, \Gyroscops\Api\Model\SecretIdJsonld::class => \Gyroscops\Api\Normalizer\SecretIdJsonldNormalizer::class, \Gyroscops\Api\Model\StepInput::class => \Gyroscops\Api\Normalizer\StepInputNormalizer::class, \Gyroscops\Api\Model\StepInputJsonld::class => \Gyroscops\Api\Normalizer\StepInputJsonldNormalizer::class, \Gyroscops\Api\Model\Subscription::class => \Gyroscops\Api\Normalizer\SubscriptionNormalizer::class, \Gyroscops\Api\Model\SubscriptionJsonld::class => \Gyroscops\Api\Normalizer\SubscriptionJsonldNormalizer::class, \Gyroscops\Api\Model\SubscriptionOption::class => \Gyroscops\Api\Normalizer\SubscriptionOptionNormalizer::class, \Gyroscops\Api\Model\SubscriptionOptionJsonld::class => \Gyroscops\Api\Normalizer\SubscriptionOptionJsonldNormalizer::class, \Gyroscops\Api\Model\TraversableJsonld::class => \Gyroscops\Api\Normalizer\TraversableJsonldNormalizer::class, \Gyroscops\Api\Model\TraversableJsonldRead::class => \Gyroscops\Api\Normalizer\TraversableJsonldReadNormalizer::class, \Gyroscops\Api\Model\UpdateList::class => \Gyroscops\Api\Normalizer\UpdateListNormalizer::class, \Gyroscops\Api\Model\UpdateListJsonld::class => \Gyroscops\Api\Normalizer\UpdateListJsonldNormalizer::class, \Gyroscops\Api\Model\User::class => \Gyroscops\Api\Normalizer\UserNormalizer::class, \Gyroscops\Api\Model\UserUserChangePasswordInput::class => \Gyroscops\Api\Normalizer\UserUserChangePasswordInputNormalizer::class, \Gyroscops\Api\Model\UserJsonld::class => \Gyroscops\Api\Normalizer\UserJsonldNormalizer::class, \Gyroscops\Api\Model\UserAuthorization::class => \Gyroscops\Api\Normalizer\UserAuthorizationNormalizer::class, \Gyroscops\Api\Model\UserAuthorizationJsonld::class => \Gyroscops\Api\Normalizer\UserAuthorizationJsonldNormalizer::class, \Gyroscops\Api\Model\VariableRead::class => \Gyroscops\Api\Normalizer\VariableReadNormalizer::class, \Gyroscops\Api\Model\VariableJsonldRead::class => \Gyroscops\Api\Normalizer\VariableJsonldReadNormalizer::class, \Gyroscops\Api\Model\VariableFromConfigurationRead::class => \Gyroscops\Api\Normalizer\VariableFromConfigurationReadNormalizer::class, \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead::class => \Gyroscops\Api\Normalizer\VariableFromConfigurationJsonldReadNormalizer::class, \Gyroscops\Api\Model\VariableFromConfigurationJsonldWrite::class => \Gyroscops\Api\Normalizer\VariableFromConfigurationJsonldWriteNormalizer::class, \Gyroscops\Api\Model\VariableFromConfigurationInput::class => \Gyroscops\Api\Normalizer\VariableFromConfigurationInputNormalizer::class, \Gyroscops\Api\Model\VariableFromConfigurationInputJsonld::class => \Gyroscops\Api\Normalizer\VariableFromConfigurationInputJsonldNormalizer::class, \Gyroscops\Api\Model\VariableFromConstantRead::class => \Gyroscops\Api\Normalizer\VariableFromConstantReadNormalizer::class, \Gyroscops\Api\Model\VariableFromConstantJsonldRead::class => \Gyroscops\Api\Normalizer\VariableFromConstantJsonldReadNormalizer::class, \Gyroscops\Api\Model\VariableFromConstantJsonldWrite::class => \Gyroscops\Api\Normalizer\VariableFromConstantJsonldWriteNormalizer::class, \Gyroscops\Api\Model\VariableFromConstantInput::class => \Gyroscops\Api\Normalizer\VariableFromConstantInputNormalizer::class, \Gyroscops\Api\Model\VariableFromConstantInputJsonld::class => \Gyroscops\Api\Normalizer\VariableFromConstantInputJsonldNormalizer::class, \Gyroscops\Api\Model\VariableFromSecretRead::class => \Gyroscops\Api\Normalizer\VariableFromSecretReadNormalizer::class, \Gyroscops\Api\Model\VariableFromSecretJsonldRead::class => \Gyroscops\Api\Normalizer\VariableFromSecretJsonldReadNormalizer::class, \Gyroscops\Api\Model\VariableFromSecretJsonldWrite::class => \Gyroscops\Api\Normalizer\VariableFromSecretJsonldWriteNormalizer::class, \Gyroscops\Api\Model\VariableFromSecretInput::class => \Gyroscops\Api\Normalizer\VariableFromSecretInputNormalizer::class, \Gyroscops\Api\Model\VariableFromSecretInputJsonld::class => \Gyroscops\Api\Normalizer\VariableFromSecretInputJsonldNormalizer::class, \Gyroscops\Api\Model\WorkflowRead::class => \Gyroscops\Api\Normalizer\WorkflowReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJsonldRead::class => \Gyroscops\Api\Normalizer\WorkflowJsonldReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJobRead::class => \Gyroscops\Api\Normalizer\WorkflowJobReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJobJsonldRead::class => \Gyroscops\Api\Normalizer\WorkflowJobJsonldReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJobAction::class => \Gyroscops\Api\Normalizer\WorkflowJobActionNormalizer::class, \Gyroscops\Api\Model\WorkflowJobActionRead::class => \Gyroscops\Api\Normalizer\WorkflowJobActionReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJobActionJsonld::class => \Gyroscops\Api\Normalizer\WorkflowJobActionJsonldNormalizer::class, \Gyroscops\Api\Model\WorkflowJobActionJsonldRead::class => \Gyroscops\Api\Normalizer\WorkflowJobActionJsonldReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJobPipeline::class => \Gyroscops\Api\Normalizer\WorkflowJobPipelineNormalizer::class, \Gyroscops\Api\Model\WorkflowJobPipelineRead::class => \Gyroscops\Api\Normalizer\WorkflowJobPipelineReadNormalizer::class, \Gyroscops\Api\Model\WorkflowJobPipelineJsonld::class => \Gyroscops\Api\Normalizer\WorkflowJobPipelineJsonldNormalizer::class, \Gyroscops\Api\Model\WorkflowJobPipelineJsonldRead::class => \Gyroscops\Api\Normalizer\WorkflowJobPipelineJsonldReadNormalizer::class, \Gyroscops\Api\Model\Workspace::class => \Gyroscops\Api\Normalizer\WorkspaceNormalizer::class, \Gyroscops\Api\Model\WorkspaceJsonld::class => \Gyroscops\Api\Normalizer\WorkspaceJsonldNormalizer::class, \Gyroscops\Api\Model\WorkspaceIdJsonld::class => \Gyroscops\Api\Normalizer\WorkspaceIdJsonldNormalizer::class, \Gyroscops\Api\Model\Token::class => \Gyroscops\Api\Normalizer\TokenNormalizer::class, \Gyroscops\Api\Model\Credentials::class => \Gyroscops\Api\Normalizer\CredentialsNormalizer::class, \Gyroscops\Api\Model\AuthenticationMeGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationMeGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationMeGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationMeGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationMeGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOfferIdOptionsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOffersGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOffersGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOffersGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOffersGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdUsersGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationUserAuthorizationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationUserIdAuthorizationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationUsersGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationUsersGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationUsersGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationUsersGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdUsersGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspacesGetResponse200Normalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspacesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspacesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200::class => \Gyroscops\Api\Normalizer\EnvironmentConfigurationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\EnvironmentConfigurationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\EnvironmentConfigurationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\EnvironmentConfigurationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsGetResponse200Normalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsIdVariablesGetResponse200Normalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsIdVariablesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\EnvironmentEnvironmentsIdVariablesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200::class => \Gyroscops\Api\Normalizer\EnvironmentSecretsGetResponse200Normalizer::class, \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\EnvironmentSecretsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\EnvironmentSecretsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceFromUrlGetResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceOauthStateGetResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstancesGetResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstancesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountsGetResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthStatesGetResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutBodyNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutResponse200Normalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraView::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\ReferralCodesGetResponse200::class => \Gyroscops\Api\Normalizer\ReferralCodesGetResponse200Normalizer::class, \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\ReferralCodesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\ReferralCodesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200::class => \Gyroscops\Api\Normalizer\ReferralOnPremiseRequestsGetResponse200Normalizer::class, \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\ReferralRequestsGetResponse200::class => \Gyroscops\Api\Normalizer\ReferralRequestsGetResponse200Normalizer::class, \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\ReferralRequestsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\ReferralRequestsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeActionsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeActionsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeActionsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeActionsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeCompilationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeCompilationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeCompilationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelinesGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeExecutionsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeExecutionsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeExecutionsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepProbesGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepProbesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepIdProbesGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdCompilationsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdStepsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdStepsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimePipelinesGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimePipelinesGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimePipelinesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimePipelinesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdExecutionsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeSchedulesGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeSchedulesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeSchedulesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowPipelinesGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowPipelinesGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowPipelinesGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowIdJobsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowsGetResponse200Normalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraView::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowsGetResponse200HydraViewNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearch::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowsGetResponse200HydraSearchNormalizer::class, \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem::class => \Gyroscops\Api\Normalizer\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer::class, '\\' . \Jane\Component\JsonSchemaRuntime\Reference::class => '\\' . \Gyroscops\Api\Runtime\Normalizer\ReferenceNormalizer::class]; protected $normalizersCache = []; public function supportsDenormalization($data, $type, $format = null): bool { - return \array_key_exists($type, $this->normalizers); + return array_key_exists($type, $this->normalizers); } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && \array_key_exists($data::class, $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 = []) @@ -51,10 +48,6 @@ public function normalize($object, $format = null, array $context = []) } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) diff --git a/src/Normalizer/MoneyJsonldNormalizer.php b/src/Normalizer/MoneyJsonldNormalizer.php index 694e78a6..70c8f7b3 100644 --- a/src/Normalizer/MoneyJsonldNormalizer.php +++ b/src/Normalizer/MoneyJsonldNormalizer.php @@ -27,19 +27,15 @@ class MoneyJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\MoneyJsonld' === $type; + return $type === \Gyroscops\Api\Model\MoneyJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\MoneyJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\MoneyJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,83 +50,83 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $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']) { + if (\array_key_exists('amount', $data) && $data['amount'] !== null) { + $object->setAmount($this->denormalizer->denormalize($data['amount'], \Gyroscops\Api\Model\BigDecimalJsonld::class, 'json', $context)); + } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { $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']) { + if (\array_key_exists('currency', $data) && $data['currency'] !== null) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \Gyroscops\Api\Model\CurrencyJsonld::class, 'json', $context)); + } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { $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']) { + if (\array_key_exists('context', $data) && $data['context'] !== null) { + $object->setContext2($this->denormalizer->denormalize($data['context'], \Gyroscops\Api\Model\ContextJsonld::class, 'json', $context)); + } elseif (\array_key_exists('context', $data) && $data['context'] === null) { $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']) { + if (\array_key_exists('minorAmount', $data) && $data['minorAmount'] !== null) { + $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], \Gyroscops\Api\Model\BigDecimalJsonld::class, 'json', $context)); + } elseif (\array_key_exists('minorAmount', $data) && $data['minorAmount'] === null) { $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']) { + if (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] !== null) { + $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], \Gyroscops\Api\Model\BigIntegerJsonld::class, 'json', $context)); + } elseif (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] === null) { $object->setUnscaledAmount(null); } - if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { + if (\array_key_exists('amounts', $data) && $data['amounts'] !== null) { $values = []; foreach ($data['amounts'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumberJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\BigNumberJsonld::class, 'json', $context); } $object->setAmounts($values); - } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { + } elseif (\array_key_exists('amounts', $data) && $data['amounts'] === null) { $object->setAmounts(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } @@ -138,9 +134,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/MoneyNormalizer.php b/src/Normalizer/MoneyNormalizer.php index 967d6da3..362ffdfa 100644 --- a/src/Normalizer/MoneyNormalizer.php +++ b/src/Normalizer/MoneyNormalizer.php @@ -27,19 +27,15 @@ class MoneyNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Money' === $type; + return $type === \Gyroscops\Api\Model\Money::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Money' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Money::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,68 +50,68 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('amount', $data) && null !== $data['amount']) { - $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); - } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + if (\array_key_exists('amount', $data) && $data['amount'] !== null) { + $object->setAmount($this->denormalizer->denormalize($data['amount'], \Gyroscops\Api\Model\BigDecimal::class, 'json', $context)); + } elseif (\array_key_exists('amount', $data) && $data['amount'] === null) { $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']) { + if (\array_key_exists('currency', $data) && $data['currency'] !== null) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \Gyroscops\Api\Model\Currency::class, 'json', $context)); + } elseif (\array_key_exists('currency', $data) && $data['currency'] === null) { $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']) { + if (\array_key_exists('context', $data) && $data['context'] !== null) { + $object->setContext($this->denormalizer->denormalize($data['context'], \Gyroscops\Api\Model\Context::class, 'json', $context)); + } elseif (\array_key_exists('context', $data) && $data['context'] === null) { $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']) { + if (\array_key_exists('minorAmount', $data) && $data['minorAmount'] !== null) { + $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], \Gyroscops\Api\Model\BigDecimal::class, 'json', $context)); + } elseif (\array_key_exists('minorAmount', $data) && $data['minorAmount'] === null) { $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']) { + if (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] !== null) { + $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], \Gyroscops\Api\Model\BigInteger::class, 'json', $context)); + } elseif (\array_key_exists('unscaledAmount', $data) && $data['unscaledAmount'] === null) { $object->setUnscaledAmount(null); } - if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { + if (\array_key_exists('amounts', $data) && $data['amounts'] !== null) { $values = []; foreach ($data['amounts'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumber', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\BigNumber::class, 'json', $context); } $object->setAmounts($values); - } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { + } elseif (\array_key_exists('amounts', $data) && $data['amounts'] === null) { $object->setAmounts(null); } - if (\array_key_exists('sign', $data) && null !== $data['sign']) { + if (\array_key_exists('sign', $data) && $data['sign'] !== null) { $object->setSign($data['sign']); - } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + } elseif (\array_key_exists('sign', $data) && $data['sign'] === null) { $object->setSign(null); } - if (\array_key_exists('zero', $data) && null !== $data['zero']) { + if (\array_key_exists('zero', $data) && $data['zero'] !== null) { $object->setZero($data['zero']); - } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + } elseif (\array_key_exists('zero', $data) && $data['zero'] === null) { $object->setZero(null); } - if (\array_key_exists('negative', $data) && null !== $data['negative']) { + if (\array_key_exists('negative', $data) && $data['negative'] !== null) { $object->setNegative($data['negative']); - } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + } elseif (\array_key_exists('negative', $data) && $data['negative'] === null) { $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { + if (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] !== null) { $object->setNegativeOrZero($data['negativeOrZero']); - } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + } elseif (\array_key_exists('negativeOrZero', $data) && $data['negativeOrZero'] === null) { $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data) && null !== $data['positive']) { + if (\array_key_exists('positive', $data) && $data['positive'] !== null) { $object->setPositive($data['positive']); - } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + } elseif (\array_key_exists('positive', $data) && $data['positive'] === null) { $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { + if (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] !== null) { $object->setPositiveOrZero($data['positiveOrZero']); - } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + } elseif (\array_key_exists('positiveOrZero', $data) && $data['positiveOrZero'] === null) { $object->setPositiveOrZero(null); } @@ -123,9 +119,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OfferJsonldNormalizer.php b/src/Normalizer/OfferJsonldNormalizer.php index 52b17b2e..76e9c604 100644 --- a/src/Normalizer/OfferJsonldNormalizer.php +++ b/src/Normalizer/OfferJsonldNormalizer.php @@ -27,19 +27,15 @@ class OfferJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OfferJsonld' === $type; + return $type === \Gyroscops\Api\Model\OfferJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OfferJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OfferJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,58 +50,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('options', $data) && null !== $data['options']) { + if (\array_key_exists('options', $data) && $data['options'] !== null) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); - } elseif (\array_key_exists('options', $data) && null === $data['options']) { + } elseif (\array_key_exists('options', $data) && $data['options'] === null) { $object->setOptions(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('sku', $data) && null !== $data['sku']) { + if (\array_key_exists('sku', $data) && $data['sku'] !== null) { $object->setSku($data['sku']); - } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { $object->setSku(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $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']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { + $object->setPrice($this->denormalizer->denormalize($data['price'], \Gyroscops\Api\Model\PriceJsonld::class, 'json', $context)); + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -113,9 +109,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OfferNormalizer.php b/src/Normalizer/OfferNormalizer.php index bf0a64a9..b715cf69 100644 --- a/src/Normalizer/OfferNormalizer.php +++ b/src/Normalizer/OfferNormalizer.php @@ -27,19 +27,15 @@ class OfferNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Offer' === $type; + return $type === \Gyroscops\Api\Model\Offer::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Offer' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Offer::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,43 +50,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('options', $data) && null !== $data['options']) { + if (\array_key_exists('options', $data) && $data['options'] !== null) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); - } elseif (\array_key_exists('options', $data) && null === $data['options']) { + } elseif (\array_key_exists('options', $data) && $data['options'] === null) { $object->setOptions(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('sku', $data) && null !== $data['sku']) { + if (\array_key_exists('sku', $data) && $data['sku'] !== null) { $object->setSku($data['sku']); - } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { $object->setSku(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $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']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { + $object->setPrice($this->denormalizer->denormalize($data['price'], \Gyroscops\Api\Model\Price::class, 'json', $context)); + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -98,9 +94,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php index 1f0f0f84..5a684bca 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php @@ -27,19 +27,15 @@ class OnPremiseRequestJsonldOnPremiseRequestReadNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' === $type; + return $type === \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,49 +50,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && null !== $data['message']) { + if (\array_key_exists('message', $data) && $data['message'] !== null) { $object->setMessage($data['message']); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { + } elseif (\array_key_exists('message', $data) && $data['message'] === null) { $object->setMessage(null); } - if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { + if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); - } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { $object->setCreatedAt(null); } @@ -104,9 +100,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php index f133a887..ab65ea39 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php @@ -27,19 +27,15 @@ class OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' === $type; + return $type === \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,39 +50,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && null !== $data['message']) { + if (\array_key_exists('message', $data) && $data['message'] !== null) { $object->setMessage($data['message']); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { + } elseif (\array_key_exists('message', $data) && $data['message'] === null) { $object->setMessage(null); } @@ -94,9 +90,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php index 2fd44f8d..1bf03a12 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php @@ -27,19 +27,15 @@ class OnPremiseRequestOnPremiseRequestReadNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' === $type; + return $type === \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && null !== $data['message']) { + if (\array_key_exists('message', $data) && $data['message'] !== null) { $object->setMessage($data['message']); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { + } elseif (\array_key_exists('message', $data) && $data['message'] === null) { $object->setMessage(null); } - if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { + if (\array_key_exists('createdAt', $data) && $data['createdAt'] !== null) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); - } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + } elseif (\array_key_exists('createdAt', $data) && $data['createdAt'] === null) { $object->setCreatedAt(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php index 6cb11cd1..a61978a3 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php @@ -27,19 +27,15 @@ class OnPremiseRequestOnPremiseRequestWriteNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' === $type; + return $type === \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('message', $data) && null !== $data['message']) { + if (\array_key_exists('message', $data) && $data['message'] !== null) { $object->setMessage($data['message']); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { + } elseif (\array_key_exists('message', $data) && $data['message'] === null) { $object->setMessage(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OptionJsonldNormalizer.php b/src/Normalizer/OptionJsonldNormalizer.php index 55ecbd8e..c5978df9 100644 --- a/src/Normalizer/OptionJsonldNormalizer.php +++ b/src/Normalizer/OptionJsonldNormalizer.php @@ -27,19 +27,15 @@ class OptionJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OptionJsonld' === $type; + return $type === \Gyroscops\Api\Model\OptionJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OptionJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OptionJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,49 +50,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('offer', $data) && null !== $data['offer']) { + if (\array_key_exists('offer', $data) && $data['offer'] !== null) { $object->setOffer($data['offer']); - } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { $object->setOffer(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('sku', $data) && null !== $data['sku']) { + if (\array_key_exists('sku', $data) && $data['sku'] !== null) { $object->setSku($data['sku']); - } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { $object->setSku(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $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']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { + $object->setPrice($this->denormalizer->denormalize($data['price'], \Gyroscops\Api\Model\PriceJsonld::class, 'json', $context)); + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -104,9 +100,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OptionNormalizer.php b/src/Normalizer/OptionNormalizer.php index 5e568930..24029590 100644 --- a/src/Normalizer/OptionNormalizer.php +++ b/src/Normalizer/OptionNormalizer.php @@ -27,19 +27,15 @@ class OptionNormalizer implements DenormalizerInterface, NormalizerInterface, De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Option' === $type; + return $type === \Gyroscops\Api\Model\Option::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Option' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Option::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,39 +50,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('offer', $data) && null !== $data['offer']) { + if (\array_key_exists('offer', $data) && $data['offer'] !== null) { $object->setOffer($data['offer']); - } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { $object->setOffer(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('sku', $data) && null !== $data['sku']) { + if (\array_key_exists('sku', $data) && $data['sku'] !== null) { $object->setSku($data['sku']); - } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + } elseif (\array_key_exists('sku', $data) && $data['sku'] === null) { $object->setSku(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $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']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { + $object->setPrice($this->denormalizer->denormalize($data['price'], \Gyroscops\Api\Model\Price::class, 'json', $context)); + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -94,9 +90,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ScheduleIdJsonldNormalizer.php b/src/Normalizer/OrganizationIdJsonldNormalizer.php similarity index 64% rename from src/Normalizer/ScheduleIdJsonldNormalizer.php rename to src/Normalizer/OrganizationIdJsonldNormalizer.php index 840b558d..c8018a7a 100644 --- a/src/Normalizer/ScheduleIdJsonldNormalizer.php +++ b/src/Normalizer/OrganizationIdJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class OrganizationIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleIdJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' === $type; + return $type === \Gyroscops\Api\Model\OrganizationIdJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OrganizationIdJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,23 +46,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleIdJsonld(); + $object = new \Gyroscops\Api\Model\OrganizationIdJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/OrganizationJsonldNormalizer.php b/src/Normalizer/OrganizationJsonldNormalizer.php index 9404a3c2..7dbb2764 100644 --- a/src/Normalizer/OrganizationJsonldNormalizer.php +++ b/src/Normalizer/OrganizationJsonldNormalizer.php @@ -27,19 +27,15 @@ class OrganizationJsonldNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\OrganizationJsonld' === $type; + return $type === \Gyroscops\Api\Model\OrganizationJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\OrganizationJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\OrganizationJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,70 +50,70 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('users', $data) && null !== $data['users']) { + if (\array_key_exists('users', $data) && $data['users'] !== null) { $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']) { + } elseif (\array_key_exists('users', $data) && $data['users'] === null) { $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { + if (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] !== null) { $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']) { + } elseif (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] === null) { $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== null) { $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']) { + } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { $object->setWorkspaces(null); } @@ -125,9 +121,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/OrganizationNormalizer.php b/src/Normalizer/OrganizationNormalizer.php index 301a7ed5..83974dee 100644 --- a/src/Normalizer/OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationNormalizer.php @@ -27,19 +27,15 @@ class OrganizationNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Organization' === $type; + return $type === \Gyroscops\Api\Model\Organization::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Organization' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Organization::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,55 +50,55 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('users', $data) && null !== $data['users']) { + if (\array_key_exists('users', $data) && $data['users'] !== null) { $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']) { + } elseif (\array_key_exists('users', $data) && $data['users'] === null) { $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { + if (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] !== null) { $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']) { + } elseif (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] === null) { $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== null) { $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']) { + } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { $object->setWorkspaces(null); } @@ -110,9 +106,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php index 07362226..70487047 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddAfterPipelineStepCommandInputJsonldNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -99,16 +85,16 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\ProbeJsonld::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -116,37 +102,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getPrevious()) { - $data['previous'] = $object->getPrevious(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['configuration'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php index b537a9c5..1d8bcda5 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddAfterPipelineStepCommandInputNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,27 +50,17 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -84,16 +70,16 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\Probe::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -101,37 +87,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getPrevious()) { - $data['previous'] = $object->getPrevious(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['configuration'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php index 840239e4..65b035e2 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddAfterPipelineStepCommandJsonldReadNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php index bc2ce524..87d4e00c 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddBeforePipelineStepCommandInputJsonldNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -99,16 +85,16 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\ProbeJsonld::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -116,37 +102,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getNext()) { - $data['next'] = $object->getNext(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['configuration'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php index b0bf3223..b818041c 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddBeforePipelineStepCommandInputNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,27 +50,17 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -84,16 +70,16 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\Probe::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -101,37 +87,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getNext()) { - $data['next'] = $object->getNext(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['configuration'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php index d5f329b9..8185c490 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddBeforePipelineStepCommandJsonldReadNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..8da242d6 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php @@ -0,0 +1,97 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); + } + if (\array_key_exists('token', $data) && $data['token'] !== null) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + $object->setToken(null); + } + + return $object; + } + + /** + * @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->getToken()) { + $data['token'] = $object->getToken(); + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php similarity index 62% rename from src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php rename to src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php index 17ad16e5..2668d327 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionStartPipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddPipelineComposerAuthCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ExecutionStartPipelineExecutionCommandInputNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,30 +46,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput(); + $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); + } + if (\array_key_exists('token', $data) && $data['token'] !== null) { + $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { + $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->getExecution()) { - $data['execution'] = $object->getExecution(); + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getToken()) { + $data['token'] = $object->getToken(); } return $data; diff --git a/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..0410bce1 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php index 4e863779..949da86e 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,38 +50,33 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && null !== $data['namespace']) { + if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { $object->setNamespace($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { $object->setNamespace(null); } - if (\array_key_exists('paths', $data) && null !== $data['paths']) { + if (\array_key_exists('paths', $data) && $data['paths'] !== null) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); - } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { $object->setPaths(null); } @@ -93,27 +84,17 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getNamespace()) { - $data['namespace'] = $object->getNamespace(); - } - if (null !== $object->getPaths()) { - $values = []; - foreach ($object->getPaths() as $value) { - $values[] = $value; - } - $data['paths'] = $values; + $data['namespace'] = $object->getNamespace(); + $values = []; + foreach ($object->getPaths() as $value) { + $values[] = $value; } + $data['paths'] = $values; return $data; } diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php index 09ad6a67..fefa1a59 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer implements D public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,23 +50,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && null !== $data['namespace']) { + if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { $object->setNamespace($data['namespace']); - } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { $object->setNamespace(null); } - if (\array_key_exists('paths', $data) && null !== $data['paths']) { + if (\array_key_exists('paths', $data) && $data['paths'] !== null) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); - } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + } elseif (\array_key_exists('paths', $data) && $data['paths'] === null) { $object->setPaths(null); } @@ -78,27 +69,17 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getNamespace()) { - $data['namespace'] = $object->getNamespace(); - } - if (null !== $object->getPaths()) { - $values = []; - foreach ($object->getPaths() as $value) { - $values[] = $value; - } - $data['paths'] = $values; + $data['namespace'] = $object->getNamespace(); + $values = []; + foreach ($object->getPaths() as $value) { + $values[] = $value; } + $data['paths'] = $values; return $data; } diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php index b410288e..3e2bed34 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer impleme public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..7a257580 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php @@ -0,0 +1,97 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); + } + if (\array_key_exists('version', $data) && $data['version'] !== null) { + $object->setVersion($data['version']); + } elseif (\array_key_exists('version', $data) && $data['version'] === null) { + $object->setVersion(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPackage()) { + $data['package'] = $object->getPackage(); + } + if (null !== $object->getVersion()) { + $data['version'] = $object->getVersion(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php new file mode 100644 index 00000000..27b70180 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php @@ -0,0 +1,82 @@ +setPackage($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); + } + if (\array_key_exists('version', $data) && $data['version'] !== null) { + $object->setVersion($data['version']); + } elseif (\array_key_exists('version', $data) && $data['version'] === null) { + $object->setVersion(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPackage()) { + $data['package'] = $object->getPackage(); + } + if (null !== $object->getVersion()) { + $data['version'] = $object->getVersion(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..b33bbada --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..a855c8df --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php @@ -0,0 +1,105 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('type', $data) && $data['type'] !== null) { + $object->setType2($data['type']); + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + $object->setType2(null); + } + if (\array_key_exists('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); + } + + return $object; + } + + /** + * @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->getType2()) { + $data['type'] = $object->getType2(); + } + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php new file mode 100644 index 00000000..06ee644f --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php @@ -0,0 +1,90 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('type', $data) && $data['type'] !== null) { + $object->setType($data['type']); + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + $object->setType(null); + } + if (\array_key_exists('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); + } + + return $object; + } + + /** + * @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->getType()) { + $data['type'] = $object->getType(); + } + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..17aa8fb9 --- /dev/null +++ b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php index d5ee187a..4c19d3b0 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddPipelineStepProbCommandInputJsonldNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $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('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) && 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']) { + if (\array_key_exists('probe', $data) && $data['probe'] !== null) { + $object->setProbe($this->denormalizer->denormalize($data['probe'], \Gyroscops\Api\Model\ProbeJsonld::class, 'json', $context)); + } elseif (\array_key_exists('probe', $data) && $data['probe'] === null) { $object->setProbe(null); } @@ -89,23 +75,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getId2()) { - $data['id'] = $object->getId2(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getProbe()) { - $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); - } + $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); return $data; } diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php index ba460737..b9fb2683 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddPipelineStepProbCommandInputNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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) && 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']) { + if (\array_key_exists('probe', $data) && $data['probe'] !== null) { + $object->setProbe($this->denormalizer->denormalize($data['probe'], \Gyroscops\Api\Model\Probe::class, 'json', $context)); + } elseif (\array_key_exists('probe', $data) && $data['probe'] === null) { $object->setProbe(null); } @@ -74,23 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getProbe()) { - $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); - } + $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); return $data; } diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php index 76f41d5e..25781773 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineAddPipelineStepProbeCommandJsonldReadNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php index ceffc3a4..93c6f1ff 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineAppendPipelineStepCommandInputJsonldNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,37 +50,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -94,16 +85,16 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\ProbeJsonld::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -111,34 +102,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['configuration'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php index 721923ec..5178a973 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineAppendPipelineStepCommandInputNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,22 +50,17 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -79,16 +70,16 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\Probe::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -96,34 +87,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['configuration'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php index c58681ee..f7800f6c 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineAppendPipelineStepCommandJsonldReadNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php index 22270973..8c286c1b 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineCompilePipelineCommandInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } @@ -79,17 +75,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } + $data['pipeline'] = $object->getPipeline(); return $data; } diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php index b1947f30..7eda5315 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineCompilePipelineCommandInputNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } @@ -64,17 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } + $data['pipeline'] = $object->getPipeline(); return $data; } diff --git a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php index 6560b8a2..afddf461 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineCompilePipelineCommandJsonldReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php index ce29c9e9..1e14aa12 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineDeclarePipelineCommandInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,91 +50,93 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(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('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('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { $values = []; foreach ($data['steps'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInputJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\StepInputJsonld::class, 'json', $context); } $object->setSteps($values); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } - if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { + if (\array_key_exists('autoloads', $data) && $data['autoloads'] !== null) { $values_1 = []; foreach ($data['autoloads'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInputJsonld', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Gyroscops\Api\Model\AutoloadInputJsonld::class, 'json', $context); } $object->setAutoloads($values_1); - } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { + } elseif (\array_key_exists('autoloads', $data) && $data['autoloads'] === null) { $object->setAutoloads(null); } + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { + $values_2 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['packages'] as $key => $value_2) { + $values_2[$key] = $value_2; + } + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $this->denormalizer->denormalize($value_3, \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInputJsonld::class, 'json', $context); + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $this->denormalizer->denormalize($value_4, \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInputJsonld::class, 'json', $context); + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } return $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->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - if (null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if (null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['steps'] = $values; + $data['label'] = $object->getLabel(); + $data['code'] = $object->getCode(); + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); } + $data['steps'] = $values; if (null !== $object->getAutoloads()) { $values_1 = []; foreach ($object->getAutoloads() as $value_1) { @@ -146,6 +144,27 @@ public function normalize($object, $format = null, array $context = []) } $data['autoloads'] = $values_1; } + if (null !== $object->getPackages()) { + $values_2 = []; + foreach ($object->getPackages() as $key => $value_2) { + $values_2[$key] = $value_2; + } + $data['packages'] = $values_2; + } + if (null !== $object->getRepositories()) { + $values_3 = []; + foreach ($object->getRepositories() as $value_3) { + $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); + } + $data['repositories'] = $values_3; + } + if (null !== $object->getAuths()) { + $values_4 = []; + foreach ($object->getAuths() as $value_4) { + $values_4[] = $this->normalizer->normalize($value_4, 'json', $context); + } + $data['auths'] = $values_4; + } return $data; } diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php index db54e85a..a9214a5f 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineDeclarePipelineCommandInputNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,76 +50,78 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(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('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('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { $values = []; foreach ($data['steps'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInput', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\StepInput::class, 'json', $context); } $object->setSteps($values); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } - if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { + if (\array_key_exists('autoloads', $data) && $data['autoloads'] !== null) { $values_1 = []; foreach ($data['autoloads'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInput', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Gyroscops\Api\Model\AutoloadInput::class, 'json', $context); } $object->setAutoloads($values_1); - } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { + } elseif (\array_key_exists('autoloads', $data) && $data['autoloads'] === null) { $object->setAutoloads(null); } + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { + $values_2 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['packages'] as $key => $value_2) { + $values_2[$key] = $value_2; + } + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $this->denormalizer->denormalize($value_3, \Gyroscops\Api\Model\AddPipelineComposerRepositoryCommandInput::class, 'json', $context); + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $this->denormalizer->denormalize($value_4, \Gyroscops\Api\Model\AddPipelineComposerAuthCommandInput::class, 'json', $context); + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } return $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->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); - } - if (null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); - } - if (null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $this->normalizer->normalize($value, 'json', $context); - } - $data['steps'] = $values; + $data['label'] = $object->getLabel(); + $data['code'] = $object->getCode(); + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); } + $data['steps'] = $values; if (null !== $object->getAutoloads()) { $values_1 = []; foreach ($object->getAutoloads() as $value_1) { @@ -131,6 +129,27 @@ public function normalize($object, $format = null, array $context = []) } $data['autoloads'] = $values_1; } + if (null !== $object->getPackages()) { + $values_2 = []; + foreach ($object->getPackages() as $key => $value_2) { + $values_2[$key] = $value_2; + } + $data['packages'] = $values_2; + } + if (null !== $object->getRepositories()) { + $values_3 = []; + foreach ($object->getRepositories() as $value_3) { + $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); + } + $data['repositories'] = $values_3; + } + if (null !== $object->getAuths()) { + $values_4 = []; + foreach ($object->getAuths() as $value_4) { + $values_4[] = $this->normalizer->normalize($value_4, 'json', $context); + } + $data['auths'] = $values_4; + } return $data; } diff --git a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php index b6f42d90..d1790130 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineDeclarePipelineCommandJsonldReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineIdJsonldNormalizer.php b/src/Normalizer/PipelineIdJsonldNormalizer.php index 7e252038..eee993fa 100644 --- a/src/Normalizer/PipelineIdJsonldNormalizer.php +++ b/src/Normalizer/PipelineIdJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineIdJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineIdJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineIdJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineIdJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineIdJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineJsonldReadNormalizer.php b/src/Normalizer/PipelineJsonldReadNormalizer.php index 74c88813..73cbf5fb 100644 --- a/src/Normalizer/PipelineJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineJsonldReadNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,86 +50,110 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { $object->setIsSoftDeleted($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { $object->setIsSoftDeleted(null); } - if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { + if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { + } elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { $object->setCompiledAt(null); } - 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); - } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { + $values = []; + foreach ($data['runtime'] as $value) { + $values[] = $value; + } + $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { + $object->setRuntime(null); + } + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $values_1 = []; - foreach ($data['runtime'] as $value_1) { + foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } - $object->setRuntime($values_1); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { - $object->setRuntime(null); + $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { + $object->setAutoload(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['autoload'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setAutoload($values_2); - } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { - $object->setAutoload(null); + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { + $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 = []) @@ -145,27 +165,41 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getCompiledAt()) { $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); } - if (null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $value; - } - $data['steps'] = $values; - } $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values_1 = []; - foreach ($object->getRuntime() as $value_1) { - $values_1[] = $value_1; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + } + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; } - $data['runtime'] = $values_1; $values_2 = []; - foreach ($object->getAutoload() as $value_2) { + foreach ($object->getRepositories() as $value_2) { $values_2[] = $value_2; } - $data['autoload'] = $values_2; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; + } + $data['auths'] = $values_3; + if (null !== $object->getSteps()) { + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; + } + $data['steps'] = $values_4; + } return $data; } diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php index 692fd14d..f1eab331 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } @@ -89,23 +75,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getPrevious()) { - $data['previous'] = $object->getPrevious(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } + $data['code'] = $object->getCode(); return $data; } diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php index db494b69..01572af1 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineMoveAfterPipelineStepCommandInputNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } @@ -74,23 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getPrevious()) { - $data['previous'] = $object->getPrevious(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } + $data['code'] = $object->getCode(); return $data; } diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php index 62716af6..19a2aa41 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php index a8cb8c5b..1f285c15 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } @@ -89,23 +75,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getNext()) { - $data['next'] = $object->getNext(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } + $data['code'] = $object->getCode(); return $data; } diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php index af90aaca..30bca5e1 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineMoveBeforePipelineStepCommandInputNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } @@ -74,23 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getNext()) { - $data['next'] = $object->getNext(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } + $data['code'] = $object->getCode(); return $data; } diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php index 74a5fb16..34284d01 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineReadNormalizer.php b/src/Normalizer/PipelineReadNormalizer.php index 0626d1fd..365cfedf 100644 --- a/src/Normalizer/PipelineReadNormalizer.php +++ b/src/Normalizer/PipelineReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineReadNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,71 +50,95 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { + if (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { $object->setIsSoftDeleted($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { $object->setIsSoftDeleted(null); } - if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { + if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { + } elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { $object->setCompiledAt(null); } - 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); - } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { + $values = []; + foreach ($data['runtime'] as $value) { + $values[] = $value; + } + $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { + $object->setRuntime(null); + } + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $values_1 = []; - foreach ($data['runtime'] as $value_1) { + foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } - $object->setRuntime($values_1); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { - $object->setRuntime(null); + $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { + $object->setAutoload(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['autoload'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setAutoload($values_2); - } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { - $object->setAutoload(null); + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { + $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 = []) @@ -130,27 +150,41 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getCompiledAt()) { $data['compiledAt'] = $object->getCompiledAt()->format('Y-m-d\\TH:i:sP'); } - if (null !== $object->getSteps()) { - $values = []; - foreach ($object->getSteps() as $value) { - $values[] = $value; - } - $data['steps'] = $values; - } $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values_1 = []; - foreach ($object->getRuntime() as $value_1) { - $values_1[] = $value_1; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + } + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; } - $data['runtime'] = $values_1; $values_2 = []; - foreach ($object->getAutoload() as $value_2) { + foreach ($object->getRepositories() as $value_2) { $values_2[] = $value_2; } - $data['autoload'] = $values_2; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; + } + $data['auths'] = $values_3; + if (null !== $object->getSteps()) { + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; + } + $data['steps'] = $values_4; + } return $data; } diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php similarity index 55% rename from src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php rename to src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php index b5d5c5d7..da0c44a1 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput(); + $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - 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('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(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('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); } return $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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getOrganization()) { - $data['organization'] = $object->getOrganization(); + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); } return $data; diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php similarity index 61% rename from src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php rename to src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php index 0ad9c1c4..93d3546f 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionFinishPipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineRemovePipelineComposerAuthCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ExecutionFinishPipelineExecutionCommandInputNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,30 +46,27 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput(); + $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('url', $data) && $data['url'] !== null) { + $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && $data['url'] === null) { + $object->setUrl(null); } return $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->getExecution()) { - $data['execution'] = $object->getExecution(); + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); } return $data; diff --git a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..6c9f3702 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..0e40aef7 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php @@ -0,0 +1,89 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('namespace', $data) && $data['namespace'] !== null) { + $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { + $object->setNamespace(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getNamespace()) { + $data['namespace'] = $object->getNamespace(); + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php similarity index 61% rename from src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php rename to src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php index 695b02a9..124cb483 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionResumePipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ExecutionResumePipelineExecutionCommandInputNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,30 +46,27 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput(); + $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('namespace', $data) && $data['namespace'] !== null) { + $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && $data['namespace'] === null) { + $object->setNamespace(null); } return $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->getExecution()) { - $data['execution'] = $object->getExecution(); + if (null !== $object->getNamespace()) { + $data['namespace'] = $object->getNamespace(); } return $data; diff --git a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..8ca89a8f --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..a119acc3 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php @@ -0,0 +1,89 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPackage()) { + $data['package'] = $object->getPackage(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php new file mode 100644 index 00000000..30b9c481 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php @@ -0,0 +1,74 @@ +setPackage($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPackage()) { + $data['package'] = $object->getPackage(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..b532f46b --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php new file mode 100644 index 00000000..3f886906 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php @@ -0,0 +1,89 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + + return $object; + } + + /** + * @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(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php new file mode 100644 index 00000000..44a6e39e --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php @@ -0,0 +1,74 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + + return $object; + } + + /** + * @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(); + } + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php new file mode 100644 index 00000000..746b7652 --- /dev/null +++ b/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php index df63e9dc..478789a3 100644 --- a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineRemovePipelineStepProbeCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineRemovePipelineStepProbeCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php index 20e522a6..8d2d74e6 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineReorderPipelineStepsCommandInputJsonldNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,33 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && null !== $data['codes']) { + if (\array_key_exists('codes', $data) && $data['codes'] !== null) { $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); - } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + } elseif (\array_key_exists('codes', $data) && $data['codes'] === null) { $object->setCodes(null); } @@ -88,24 +79,16 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getCodes()) { - $values = []; - foreach ($object->getCodes() as $value) { - $values[] = $value; - } - $data['codes'] = $values; + $values = []; + foreach ($object->getCodes() as $value) { + $values[] = $value; } + $data['codes'] = $values; return $data; } diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php index e050dd45..d9c1d014 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineReorderPipelineStepsCommandInputNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,18 +50,13 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && null !== $data['codes']) { + if (\array_key_exists('codes', $data) && $data['codes'] !== null) { $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); - } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + } elseif (\array_key_exists('codes', $data) && $data['codes'] === null) { $object->setCodes(null); } @@ -73,24 +64,16 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getCodes()) { - $values = []; - foreach ($object->getCodes() as $value) { - $values[] = $value; - } - $data['codes'] = $values; + $values = []; + foreach ($object->getCodes() as $value) { + $values[] = $value; } + $data['codes'] = $values; return $data; } diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php index 16381647..544e3448 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineReorderPipelineStepsCommandJsonldReadNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php index 0a47c0e6..c1e1b3a5 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineReplacePipelineStepCommandInputJsonldNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,57 +50,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_1 = []; foreach ($data['probes'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Gyroscops\Api\Model\ProbeJsonld::class, 'json', $context); } $object->setProbes($values_1); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -112,33 +98,18 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getFormer()) { - $data['former'] = $object->getFormer(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value) { + $values[] = $value; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_1 = []; foreach ($object->getProbes() as $value_1) { diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php index 190346d1..47afe36c 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php @@ -27,19 +27,15 @@ class PipelineReplacePipelineStepCommandInputNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' === $type; + return $type === \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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) && 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) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); - } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_1 = []; foreach ($data['probes'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Gyroscops\Api\Model\Probe::class, 'json', $context); } $object->setProbes($values_1); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -97,33 +83,18 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getFormer()) { - $data['former'] = $object->getFormer(); - } - if (null !== $object->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfiguration()) { - $values = []; - foreach ($object->getConfiguration() as $value) { - $values[] = $value; - } - $data['configuration'] = $values; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $value) { + $values[] = $value; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_1 = []; foreach ($object->getProbes() as $value_1) { diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php index 6035fd43..e222c211 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class PipelineReplacePipelineStepCommandJsonldReadNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/PipelineStepJsonldNormalizer.php b/src/Normalizer/PipelineStepJsonldNormalizer.php index 60a69570..29f1a82a 100644 --- a/src/Normalizer/PipelineStepJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineStepJsonldNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineStepJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineStepJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineStepJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,62 +50,62 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('order', $data) && null !== $data['order']) { + if (\array_key_exists('order', $data) && $data['order'] !== null) { $object->setOrder($data['order']); - } elseif (\array_key_exists('order', $data) && null === $data['order']) { + } elseif (\array_key_exists('order', $data) && $data['order'] === null) { $object->setOrder(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - 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']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], \Gyroscops\Api\Model\AbstractPipelineJsonld::class, 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $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']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } @@ -117,9 +113,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PipelineStepNormalizer.php b/src/Normalizer/PipelineStepNormalizer.php index f3c8dff0..0d04696f 100644 --- a/src/Normalizer/PipelineStepNormalizer.php +++ b/src/Normalizer/PipelineStepNormalizer.php @@ -27,19 +27,15 @@ class PipelineStepNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineStep' === $type; + return $type === \Gyroscops\Api\Model\PipelineStep::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStep' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineStep::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,47 +50,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('order', $data) && null !== $data['order']) { + if (\array_key_exists('order', $data) && $data['order'] !== null) { $object->setOrder($data['order']); - } elseif (\array_key_exists('order', $data) && null === $data['order']) { + } elseif (\array_key_exists('order', $data) && $data['order'] === null) { $object->setOrder(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - 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']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], \Gyroscops\Api\Model\AbstractPipeline::class, 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } - if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $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']) { + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { $object->setConfiguration(null); } @@ -102,9 +98,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php index 1a3e8935..644e3574 100644 --- a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php @@ -27,19 +27,15 @@ class PipelineStepProbeJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' === $type; + return $type === \Gyroscops\Api\Model\PipelineStepProbeJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineStepProbeJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,44 +50,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('order', $data) && null !== $data['order']) { + if (\array_key_exists('order', $data) && $data['order'] !== null) { $object->setOrder($data['order']); - } elseif (\array_key_exists('order', $data) && null === $data['order']) { + } elseif (\array_key_exists('order', $data) && $data['order'] === null) { $object->setOrder(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('step', $data) && null !== $data['step']) { + if (\array_key_exists('step', $data) && $data['step'] !== null) { $object->setStep($data['step']); - } elseif (\array_key_exists('step', $data) && null === $data['step']) { + } elseif (\array_key_exists('step', $data) && $data['step'] === null) { $object->setStep(null); } @@ -99,9 +95,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PipelineStepProbeNormalizer.php b/src/Normalizer/PipelineStepProbeNormalizer.php index 82fcd182..8d5391ee 100644 --- a/src/Normalizer/PipelineStepProbeNormalizer.php +++ b/src/Normalizer/PipelineStepProbeNormalizer.php @@ -27,19 +27,15 @@ class PipelineStepProbeNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PipelineStepProbe' === $type; + return $type === \Gyroscops\Api\Model\PipelineStepProbe::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepProbe' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PipelineStepProbe::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('order', $data) && null !== $data['order']) { + if (\array_key_exists('order', $data) && $data['order'] !== null) { $object->setOrder($data['order']); - } elseif (\array_key_exists('order', $data) && null === $data['order']) { + } elseif (\array_key_exists('order', $data) && $data['order'] === null) { $object->setOrder(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('step', $data) && null !== $data['step']) { + if (\array_key_exists('step', $data) && $data['step'] !== null) { $object->setStep($data['step']); - } elseif (\array_key_exists('step', $data) && null === $data['step']) { + } elseif (\array_key_exists('step', $data) && $data['step'] === null) { $object->setStep(null); } @@ -84,9 +80,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PriceJsonldNormalizer.php b/src/Normalizer/PriceJsonldNormalizer.php index 1a758a6a..334a2eaf 100644 --- a/src/Normalizer/PriceJsonldNormalizer.php +++ b/src/Normalizer/PriceJsonldNormalizer.php @@ -27,19 +27,15 @@ class PriceJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\PriceJsonld' === $type; + return $type === \Gyroscops\Api\Model\PriceJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\PriceJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\PriceJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('price', $data) && null !== $data['price']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { $object->setPrice($data['price']); - } elseif (\array_key_exists('price', $data) && null === $data['price']) { + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/PriceNormalizer.php b/src/Normalizer/PriceNormalizer.php index af0feb60..c0ada36e 100644 --- a/src/Normalizer/PriceNormalizer.php +++ b/src/Normalizer/PriceNormalizer.php @@ -27,19 +27,15 @@ class PriceNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Price' === $type; + return $type === \Gyroscops\Api\Model\Price::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Price' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Price::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('price', $data) && null !== $data['price']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { $object->setPrice($data['price']); - } elseif (\array_key_exists('price', $data) && null === $data['price']) { + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -64,9 +60,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ProbeJsonldNormalizer.php b/src/Normalizer/ProbeJsonldNormalizer.php index f6c39122..5e9a53b1 100644 --- a/src/Normalizer/ProbeJsonldNormalizer.php +++ b/src/Normalizer/ProbeJsonldNormalizer.php @@ -27,19 +27,15 @@ class ProbeJsonldNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ProbeJsonld' === $type; + return $type === \Gyroscops\Api\Model\ProbeJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ProbeJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ProbeJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } @@ -84,9 +80,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ProbeNormalizer.php b/src/Normalizer/ProbeNormalizer.php index 5f869f5f..08af5038 100644 --- a/src/Normalizer/ProbeNormalizer.php +++ b/src/Normalizer/ProbeNormalizer.php @@ -27,19 +27,15 @@ class ProbeNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Probe' === $type; + return $type === \Gyroscops\Api\Model\Probe::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Probe' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Probe::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } @@ -69,9 +65,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php index c29e4d75..bf13e624 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodeJsonldReferralCodeReadNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,43 +50,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { + if (\array_key_exists('referralRequests', $data) && $data['referralRequests'] !== null) { $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); - } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { + } elseif (\array_key_exists('referralRequests', $data) && $data['referralRequests'] === null) { $object->setReferralRequests(null); } @@ -98,9 +94,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php index 4de8e7cb..0de8fc78 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodeJsonldReferralCodeWriteNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php index 5a76d4d6..847ad1a9 100644 --- a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodeReferralCodeReadNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodeReferralCodeRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodeReferralCodeRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { + if (\array_key_exists('referralRequests', $data) && $data['referralRequests'] !== null) { $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); - } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { + } elseif (\array_key_exists('referralRequests', $data) && $data['referralRequests'] === null) { $object->setReferralRequests(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php index f760ca8a..12bb7f0b 100644 --- a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodeReferralCodeWriteNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } @@ -64,9 +60,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 48f70578..ac02b957 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer implement public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php index af56fbff..ff5db6e1 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodesGetResponse200HydraSearchNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php index b7c4624a..4134bec1 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class ReferralCodesGetResponse200HydraViewNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php index bed060ea..f0ca8295 100644 --- a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class ReferralCodesGetResponse200Normalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\ReferralCodesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralCodesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\ReferralCodesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\ReferralCodesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\ReferralCodesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5ac0d954..72960015 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php index 6c0185d7..d1c65707 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php index 9f5e618b..e2e2733f 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php index 1527e762..4f402efa 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class ReferralOnPremiseRequestsGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\ReferralOnPremiseRequestsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\ReferralOnPremiseRequestsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\ReferralOnPremiseRequestsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php index 1c164602..ca8692ae 100644 --- a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestJsonldReferralRequestReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,69 +50,69 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('userName', $data) && null !== $data['userName']) { + if (\array_key_exists('userName', $data) && $data['userName'] !== null) { $object->setUserName($data['userName']); - } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { + } elseif (\array_key_exists('userName', $data) && $data['userName'] === null) { $object->setUserName(null); } - if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { + if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { $object->setCompanyName($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { + if (\array_key_exists('creationDate', $data) && $data['creationDate'] !== null) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); - } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { + } elseif (\array_key_exists('creationDate', $data) && $data['creationDate'] === null) { $object->setCreationDate(null); } - if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { + if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { $object->setReferralCode($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && null !== $data['approver']) { + if (\array_key_exists('approver', $data) && $data['approver'] !== null) { $object->setApprover($data['approver']); - } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { + } elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { $object->setApprover(null); } - if (\array_key_exists('status', $data) && null !== $data['status']) { + if (\array_key_exists('status', $data) && $data['status'] !== null) { $object->setStatus($data['status']); - } elseif (\array_key_exists('status', $data) && null === $data['status']) { + } elseif (\array_key_exists('status', $data) && $data['status'] === null) { $object->setStatus(null); } @@ -124,9 +120,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php index 80b7db10..4db665cf 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestReferralRequestInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,49 +50,49 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('username', $data) && null !== $data['username']) { + if (\array_key_exists('username', $data) && $data['username'] !== null) { $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { + } elseif (\array_key_exists('username', $data) && $data['username'] === null) { $object->setUsername(null); } - if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { + if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { $object->setCompanyName($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { + if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { $object->setReferralCode($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { $object->setReferralCode(null); } @@ -104,9 +100,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php index 63ff10aa..7f2fc459 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestReferralRequestInputNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestReferralRequestInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestReferralRequestInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('username', $data) && null !== $data['username']) { + if (\array_key_exists('username', $data) && $data['username'] !== null) { $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { + } elseif (\array_key_exists('username', $data) && $data['username'] === null) { $object->setUsername(null); } - if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { + if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { $object->setCompanyName($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { + if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { $object->setReferralCode($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { $object->setReferralCode(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php index a88eec54..cb3abea4 100644 --- a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestReferralRequestReadNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestReferralRequestRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,54 +50,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('userName', $data) && null !== $data['userName']) { + if (\array_key_exists('userName', $data) && $data['userName'] !== null) { $object->setUserName($data['userName']); - } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { + } elseif (\array_key_exists('userName', $data) && $data['userName'] === null) { $object->setUserName(null); } - if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { + if (\array_key_exists('companyName', $data) && $data['companyName'] !== null) { $object->setCompanyName($data['companyName']); - } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + } elseif (\array_key_exists('companyName', $data) && $data['companyName'] === null) { $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { + if (\array_key_exists('creationDate', $data) && $data['creationDate'] !== null) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); - } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { + } elseif (\array_key_exists('creationDate', $data) && $data['creationDate'] === null) { $object->setCreationDate(null); } - if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { + if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { $object->setReferralCode($data['referralCode']); - } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + } elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && null !== $data['approver']) { + if (\array_key_exists('approver', $data) && $data['approver'] !== null) { $object->setApprover($data['approver']); - } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { + } elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { $object->setApprover(null); } - if (\array_key_exists('status', $data) && null !== $data['status']) { + if (\array_key_exists('status', $data) && $data['status'] !== null) { $object->setStatus($data['status']); - } elseif (\array_key_exists('status', $data) && null === $data['status']) { + } elseif (\array_key_exists('status', $data) && $data['status'] === null) { $object->setStatus(null); } @@ -109,9 +105,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index c96716d9..6bcb23ab 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php index 594a1fc7..1df4a602 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestsGetResponse200HydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php index 26a497cf..41cb0602 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class ReferralRequestsGetResponse200HydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php index a7f56a5a..e0b0428a 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class ReferralRequestsGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\ReferralRequestsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ReferralRequestsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ReferralRequestJsonldReferralRequestRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\ReferralRequestsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\ReferralRequestsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\ReferralRequestsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 271aaac5..456faa45 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer implemen public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php index 3b58ea5a..b6fb5460 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeActionsGetResponse200HydraSearchNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php index 9178fa57..6bc4ca39 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeActionsGetResponse200HydraViewNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php index fdd5e7de..b7aef959 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeActionsGetResponse200Normalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeActionsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeActionsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ActionJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ActionJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeActionsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeActionsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeActionsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 64% rename from src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/RuntimeCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 2a5556d3..ad6396e0 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,28 +46,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeCompilationsGetResponse200HydraSearchNormalizer.php similarity index 69% rename from src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php rename to src/Normalizer/RuntimeCompilationsGetResponse200HydraSearchNormalizer.php index 5a8cb521..fb2a778b 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetResponse200HydraSearchNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeCompilationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentSecretIdPutPutResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearch(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeCompilationsGetResponse200HydraViewNormalizer.php similarity index 64% rename from src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php rename to src/Normalizer/RuntimeCompilationsGetResponse200HydraViewNormalizer.php index b0f3fa6c..ce7e44cb 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetResponse200HydraViewNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentSecretIdPutPutResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeCompilationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentSecretIdPutPutResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentSecretIdPutPutResponse200HydraView(); + $object = new \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraView(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php b/src/Normalizer/RuntimeCompilationsGetResponse200Normalizer.php similarity index 65% rename from src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php rename to src/Normalizer/RuntimeCompilationsGetResponse200Normalizer.php index 949f8034..9985ccfe 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php +++ b/src/Normalizer/RuntimeCompilationsGetResponse200Normalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentSecretIdPutPutResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeCompilationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class EnvironmentSecretIdPutPutResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentSecretIdPutPutResponse200(); + $object = new \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\CompilationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\EnvironmentSecretIdPutPutResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\EnvironmentSecretIdPutPutResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeCompilationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index b7285fd5..4311abea 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMapp public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php index fb61786a..86538eeb 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php index 357f3883..93cc4169 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php index 9299352f..bfc8bbc1 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer implement public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionPipelineStepJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index ef23ef7f..7d4d6b80 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingIte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php index 73399f91..15405a88 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php index 587e49e8..e4851613 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php index 2e3f2dce..7e44fa8c 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionPipelinesGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionPipelineJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 1150a3bb..33afab18 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappi public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index 42b07464..abd06e68 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php index 11fd237c..03390e42 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer i public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php index 87713dd0..19d24f09 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 27eaf40b..2087b228 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingIte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php index dc4ea523..de1905e8 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php index 58c3c390..5856c73f 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php index 340b1b2f..5d52ff97 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionWorkflowJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 9f279406..0e61c27e 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index a4a86f9c..a1c800f5 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer implemen public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php index 92e613f3..ab6fc9c0 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php index 7c27ddef..5fb85156 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index a1a373d0..81ca3c13 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingIte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php index c193e154..c58d5d9c 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php index 9a677ab5..af9185fc 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php index 5f8b4065..bfca6637 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionPipelineStepJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 56d60dd3..b7f8fd9c 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php index f076aec1..0046200e 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php index fbfb10d7..e0973bff 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer implements D public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php index 62a2317e..8f76241f 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionPipelineJobsGetResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionPipelineJobJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionPipelineJobsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionPipelineJobsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 7363c97e..53b5c748 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200H public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php index 5b7b4f91..6b9e3091 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200H public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php index 43d8df07..feeeeb18 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200H public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php index e7a168c8..c7b88136 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200N public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionPipelineStepJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 383392f9..91031154 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydr public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php index 667e850f..ab947852 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php index 4d64ed88..efc05e0f 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php index caf98fd3..bcffc1fc 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer impl public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index ce48e989..796cb57a 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer imple public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php index 798ef095..c55a9191 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionsGetResponse200HydraSearchNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php index a1db4941..00be2a3f 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionsGetResponse200HydraViewNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php index 88b01c31..6b68ffea 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeExecutionsGetResponse200Normalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeExecutionsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeExecutionsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeExecutionsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index e30c12c0..840c3b1f 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php index ebdd35ce..06bfd0e0 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer implement public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php index d43d9573..fa2d1bfb 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php index 45905db1..2f75a170 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdCompilationsGetResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\CompilationJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelineIdCompilationsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelineIdCompilationsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimePipelineIdCompilationsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index dc779956..0e6556e9 100644 --- a/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer.php index 6b09267e..34af92df 100644 --- a/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdStepsGetResponse200HydraSearchNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraViewNormalizer.php index 7449d5b6..cda7c0d9 100644 --- a/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdStepsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdStepsGetResponse200HydraViewNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineIdStepsGetResponse200Normalizer.php index 3e2330b1..8b9d6028 100644 --- a/src/Normalizer/RuntimePipelineIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineIdStepsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineIdStepsGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdStepsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\PipelineStepJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelineIdStepsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelineIdStepsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimePipelineIdStepsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index aa61e40c..ba858036 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php index c156cb38..2fcbae13 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php index 7807f2cf..b929f134 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php index 60712651..7c2849ec 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepIdProbesGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\PipelineStepProbeJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelineStepIdProbesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelineStepIdProbesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimePipelineStepIdProbesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 592fbd36..28fb5327 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php index 49ae4485..6da7121a 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php index 61319844..7bf53f40 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepProbesGetResponse200HydraViewNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php index 434fda6c..a74c2866 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepProbesGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\PipelineStepProbeJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelineStepProbesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelineStepProbesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimePipelineStepProbesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 23146757..f9c79906 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer im public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php index f5b43f0c..09ec4540 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepsGetResponse200HydraSearchNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php index 4ed1cf65..bf7db800 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepsGetResponse200HydraViewNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php index 691e7102..1ca747da 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimePipelineStepsGetResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\PipelineStepJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelineStepsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelineStepsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimePipelineStepsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 83de8d50..088b9e30 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php index 5234f40e..825ce27e 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelinesGetResponse200HydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php index 4a3c1edb..c36d058e 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimePipelinesGetResponse200HydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php index b7ebcd3d..e67527c3 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimePipelinesGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimePipelinesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\PipelineJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelinesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelinesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimePipelinesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 03832f5e..a007ca7a 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php index fc57921a..0dc90367 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php index 36288a22..f7534de6 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php index 68f412c0..1ea5477a 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdExecutionsGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ExecutionJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeScheduleIdExecutionsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeScheduleIdExecutionsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index a0beab8e..cffd00d0 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index 0aaa6cf8..95ea50d2 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer implement public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php index cc2796c0..81caf8c2 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php index 67f70abd..8d29901a 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkflowJobJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 15bd368c..3d4dd586 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php index 652d228c..3148a6de 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeSchedulesGetResponse200HydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php index f97f3ffc..ebb5bfac 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeSchedulesGetResponse200HydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php index d7d800e3..78fd57bc 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeSchedulesGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ScheduleJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\ScheduleJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeSchedulesGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeSchedulesGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeSchedulesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 161cbc29..3c0941d9 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer i public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index 2398ab8e..8a2f30f8 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php index 2c3bbc82..94a365f0 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php index 133ec6c4..bbf2c469 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowIdJobsGetResponse200Normalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkflowJobJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeWorkflowIdJobsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeWorkflowIdJobsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 63% rename from src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index e720056e..f53823e0 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,28 +46,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraSearchNormalizer.php similarity index 69% rename from src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php rename to src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraSearchNormalizer.php index cd7f7d69..b114b76a 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraSearchNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeWorkflowPipelinesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer implements public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimePipelinesCompilationGetResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearch(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraViewNormalizer.php similarity index 64% rename from src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php rename to src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraViewNormalizer.php index e4c26f76..eb08f01a 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200HydraViewNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimePipelinesCompilationGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeWorkflowPipelinesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class RuntimePipelinesCompilationGetResponse200HydraViewNormalizer implements De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimePipelinesCompilationGetResponse200HydraView(); + $object = new \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraView(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200Normalizer.php similarity index 64% rename from src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php rename to src/Normalizer/RuntimeWorkflowPipelinesGetResponse200Normalizer.php index 223a53d3..cbdd01f3 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowPipelinesGetResponse200Normalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimePipelinesCompilationGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeWorkflowPipelinesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class RuntimePipelinesCompilationGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,32 +46,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimePipelinesCompilationGetResponse200(); + $object = new \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkflowJobPipelineJsonld::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimePipelinesCompilationGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimePipelinesCompilationGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeWorkflowPipelinesGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..c9185b87 --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,98 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { + $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { + $object->setVariable(null); + } + if (\array_key_exists('property', $data) && $data['property'] !== null) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data) && $data['required'] !== null) { + $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { + $object->setRequired(null); + } + + return $object; + } + + /** + * @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/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..07ac53e5 --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,106 @@ +setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { + $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { + $object->setHydraTemplate(null); + } + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { + $object->setHydraVariableRepresentation(null); + } + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); + } + $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { + $object->setHydraMapping(null); + } + + return $object; + } + + /** + * @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/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..f48d683d --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,114 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { + $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { + $object->setHydraFirst(null); + } + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { + $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { + $object->setHydraLast(null); + } + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { + $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { + $object->setHydraPrevious(null); + } + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { + $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { + $object->setHydraNext(null); + } + + return $object; + } + + /** + * @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/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200Normalizer.php new file mode 100644 index 00000000..d53a5ffd --- /dev/null +++ b/src/Normalizer/RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200Normalizer.php @@ -0,0 +1,104 @@ +denormalizer->denormalize($value, \Gyroscops\Api\Model\PipelineStepJsonld::class, 'json', $context); + } + $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { + $object->setHydraMember(null); + } + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { + $object->setHydraTotalItems(null); + } + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { + $object->setHydraView(null); + } + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeWorkflowWorkflowJobPipelinesIdStepsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { + $object->setHydraSearch(null); + } + + return $object; + } + + /** + * @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/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 86b9d9c9..977cc045 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer implem public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('variable', $data) && null !== $data['variable']) { + if (\array_key_exists('variable', $data) && $data['variable'] !== null) { $object->setVariable($data['variable']); - } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + } elseif (\array_key_exists('variable', $data) && $data['variable'] === null) { $object->setVariable(null); } - if (\array_key_exists('property', $data) && null !== $data['property']) { + if (\array_key_exists('property', $data) && $data['property'] !== null) { $object->setProperty($data['property']); - } elseif (\array_key_exists('property', $data) && null === $data['property']) { + } elseif (\array_key_exists('property', $data) && $data['property'] === null) { $object->setProperty(null); } - if (\array_key_exists('required', $data) && null !== $data['required']) { + if (\array_key_exists('required', $data) && $data['required'] !== null) { $object->setRequired($data['required']); - } elseif (\array_key_exists('required', $data) && null === $data['required']) { + } elseif (\array_key_exists('required', $data) && $data['required'] === null) { $object->setRequired(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php index fd58b2c5..66b90bc4 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowsGetResponse200HydraSearchNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearch::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearch::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { + if (\array_key_exists('hydra:template', $data) && $data['hydra:template'] !== null) { $object->setHydraTemplate($data['hydra:template']); - } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + } elseif (\array_key_exists('hydra:template', $data) && $data['hydra:template'] === null) { $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { + if (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] !== null) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); - } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && $data['hydra:variableRepresentation'] === null) { $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { + if (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] !== null) { $values = []; foreach ($data['hydra:mapping'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem::class, 'json', $context); } $object->setHydraMapping($values); - } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + } elseif (\array_key_exists('hydra:mapping', $data) && $data['hydra:mapping'] === null) { $object->setHydraMapping(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php index 432cc178..3071d9a3 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowsGetResponse200HydraViewNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraView::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraView::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { + if (\array_key_exists('hydra:first', $data) && $data['hydra:first'] !== null) { $object->setHydraFirst($data['hydra:first']); - } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + } elseif (\array_key_exists('hydra:first', $data) && $data['hydra:first'] === null) { $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { + if (\array_key_exists('hydra:last', $data) && $data['hydra:last'] !== null) { $object->setHydraLast($data['hydra:last']); - } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + } elseif (\array_key_exists('hydra:last', $data) && $data['hydra:last'] === null) { $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { + if (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] !== null) { $object->setHydraPrevious($data['hydra:previous']); - } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + } elseif (\array_key_exists('hydra:previous', $data) && $data['hydra:previous'] === null) { $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { + if (\array_key_exists('hydra:next', $data) && $data['hydra:next'] !== null) { $object->setHydraNext($data['hydra:next']); - } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + } elseif (\array_key_exists('hydra:next', $data) && $data['hydra:next'] === null) { $object->setHydraNext(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php index c61ee358..0f8e4264 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php @@ -27,19 +27,15 @@ class RuntimeWorkflowsGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' === $type; + return $type === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hydra:member', $data) && null !== $data['hydra:member']) { + if (\array_key_exists('hydra:member', $data) && $data['hydra:member'] !== null) { $values = []; foreach ($data['hydra:member'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkflowJsonldRead::class, 'json', $context); } $object->setHydraMember($values); - } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + } elseif (\array_key_exists('hydra:member', $data) && $data['hydra:member'] === null) { $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { + if (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] !== null) { $object->setHydraTotalItems($data['hydra:totalItems']); - } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + } elseif (\array_key_exists('hydra:totalItems', $data) && $data['hydra:totalItems'] === null) { $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\\RuntimeWorkflowsGetResponse200HydraView', 'json', $context)); - } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + if (\array_key_exists('hydra:view', $data) && $data['hydra:view'] !== null) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraView::class, 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && $data['hydra:view'] === null) { $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\\RuntimeWorkflowsGetResponse200HydraSearch', 'json', $context)); - } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + if (\array_key_exists('hydra:search', $data) && $data['hydra:search'] !== null) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], \Gyroscops\Api\Model\RuntimeWorkflowsGetResponse200HydraSearch::class, 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && $data['hydra:search'] === null) { $object->setHydraSearch(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleCommandInputJsonldNormalizer.php similarity index 50% rename from src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php rename to src/Normalizer/ScheduleDeclarePipelineScheduleCommandInputJsonldNormalizer.php index 671c6be4..7507c53e 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleCommandInputJsonldNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ScheduleDeclarePipelineScheduleCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer implements Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' === $type; + return $type === \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,73 +46,76 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandJsonld(); + $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - 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) && 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']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('start', $data) && null !== $data['start']) { + if (\array_key_exists('type', $data) && $data['type'] !== null) { + $object->setType2($data['type']); + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + $object->setType2(null); + } + if (\array_key_exists('date', $data) && $data['date'] !== null) { + $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && $data['date'] === null) { + $object->setDate(null); + } + if (\array_key_exists('start', $data) && $data['start'] !== null) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); - } elseif (\array_key_exists('start', $data) && null === $data['start']) { + } elseif (\array_key_exists('start', $data) && $data['start'] === null) { $object->setStart(null); } - if (\array_key_exists('interval', $data) && null !== $data['interval']) { + if (\array_key_exists('interval', $data) && $data['interval'] !== null) { $object->setInterval($data['interval']); - } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + } elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { $object->setInterval(null); } - if (\array_key_exists('end', $data) && null !== $data['end']) { + if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { + $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { + $object->setRecurrences(null); + } + if (\array_key_exists('end', $data) && $data['end'] !== null) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); - } elseif (\array_key_exists('end', $data) && null === $data['end']) { + } elseif (\array_key_exists('end', $data) && $data['end'] === null) { $object->setEnd(null); } - 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 = []) { $data = []; - if (null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); + $data['pipeline'] = $object->getPipeline(); + if (null !== $object->getType2()) { + $data['type'] = $object->getType2(); } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + if (null !== $object->getDate()) { + $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); } if (null !== $object->getStart()) { $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); @@ -124,12 +123,12 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getInterval()) { $data['interval'] = $object->getInterval(); } + if (null !== $object->getRecurrences()) { + $data['recurrences'] = $object->getRecurrences(); + } if (null !== $object->getEnd()) { $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); } - if (null !== $object->getUser()) { - $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); - } return $data; } diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleCommandInputNormalizer.php similarity index 55% rename from src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php rename to src/Normalizer/ScheduleDeclarePipelineScheduleCommandInputNormalizer.php index ceded7ce..d3511fcc 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleCommandInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ScheduleDeclarePipelineScheduleUntilCommandNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ScheduleDeclarePipelineScheduleCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ScheduleDeclarePipelineScheduleUntilCommandNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' === $type; + return $type === \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,58 +46,61 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand(); + $object = new \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('start', $data) && null !== $data['start']) { + if (\array_key_exists('type', $data) && $data['type'] !== null) { + $object->setType($data['type']); + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { + $object->setType(null); + } + if (\array_key_exists('date', $data) && $data['date'] !== null) { + $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && $data['date'] === null) { + $object->setDate(null); + } + if (\array_key_exists('start', $data) && $data['start'] !== null) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); - } elseif (\array_key_exists('start', $data) && null === $data['start']) { + } elseif (\array_key_exists('start', $data) && $data['start'] === null) { $object->setStart(null); } - if (\array_key_exists('interval', $data) && null !== $data['interval']) { + if (\array_key_exists('interval', $data) && $data['interval'] !== null) { $object->setInterval($data['interval']); - } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + } elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { $object->setInterval(null); } - if (\array_key_exists('end', $data) && null !== $data['end']) { + if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { + $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { + $object->setRecurrences(null); + } + if (\array_key_exists('end', $data) && $data['end'] !== null) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); - } elseif (\array_key_exists('end', $data) && null === $data['end']) { + } elseif (\array_key_exists('end', $data) && $data['end'] === null) { $object->setEnd(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); - } return $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(); + $data['pipeline'] = $object->getPipeline(); + if (null !== $object->getType()) { + $data['type'] = $object->getType(); } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); + if (null !== $object->getDate()) { + $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); } if (null !== $object->getStart()) { $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); @@ -109,12 +108,12 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getInterval()) { $data['interval'] = $object->getInterval(); } + if (null !== $object->getRecurrences()) { + $data['recurrences'] = $object->getRecurrences(); + } if (null !== $object->getEnd()) { $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); } - if (null !== $object->getUser()) { - $data['user'] = $object->getUser(); - } return $data; } diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php deleted file mode 100644 index 5943c1d9..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php +++ /dev/null @@ -1,112 +0,0 @@ -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($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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - } - if (null !== $object->getUser()) { - $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php deleted file mode 100644 index 5787973f..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php +++ /dev/null @@ -1,97 +0,0 @@ -setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); - } - 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) && 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 = []) - { - $data = []; - if (null !== $object->getId()) { - $data['id'] = $object->getId(); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getUser()) { - $data['user'] = $object->getUser(); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php deleted file mode 100644 index 52750737..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -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($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) && 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - } - if (null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getUser()) { - $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php deleted file mode 100644 index e5fa3ce3..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); - } - 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getId()) { - $data['id'] = $object->getId(); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getDate()) { - $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getUser()) { - $data['user'] = $object->getUser(); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php deleted file mode 100644 index 9f8e8d66..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -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('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) && 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getStart()) { - $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getInterval()) { - $data['interval'] = $object->getInterval(); - } - if (null !== $object->getRecurrences()) { - $data['recurrences'] = $object->getRecurrences(); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php deleted file mode 100644 index 6a08f409..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { - $object->setPipeline(null); - } - 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getStart()) { - $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getInterval()) { - $data['interval'] = $object->getInterval(); - } - if (null !== $object->getRecurrences()) { - $data['recurrences'] = $object->getRecurrences(); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php deleted file mode 100644 index ca6561d9..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php +++ /dev/null @@ -1,136 +0,0 @@ -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($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) && 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) && 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) && 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getId2()) { - $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); - } - if (null !== $object->getStart()) { - $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getInterval()) { - $data['interval'] = $object->getInterval(); - } - if (null !== $object->getRecurrences()) { - $data['recurrences'] = $object->getRecurrences(); - } - if (null !== $object->getUser()) { - $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php deleted file mode 100644 index 920646e4..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php +++ /dev/null @@ -1,121 +0,0 @@ -setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); - } - 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) && 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) && 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getId()) { - $data['id'] = $object->getId(); - } - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getStart()) { - $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getInterval()) { - $data['interval'] = $object->getInterval(); - } - if (null !== $object->getRecurrences()) { - $data['recurrences'] = $object->getRecurrences(); - } - if (null !== $object->getUser()) { - $data['user'] = $object->getUser(); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php deleted file mode 100644 index f79f76fc..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php +++ /dev/null @@ -1,120 +0,0 @@ -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('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) && 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getStart()) { - $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getInterval()) { - $data['interval'] = $object->getInterval(); - } - if (null !== $object->getEnd()) { - $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php deleted file mode 100644 index 8f5e461f..00000000 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php +++ /dev/null @@ -1,105 +0,0 @@ -setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { - $object->setPipeline(null); - } - 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) && 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) && 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 = []) - { - $data = []; - if (null !== $object->getPipeline()) { - $data['pipeline'] = $object->getPipeline(); - } - if (null !== $object->getStart()) { - $data['start'] = $object->getStart()->format('Y-m-d\\TH:i:sP'); - } - if (null !== $object->getInterval()) { - $data['interval'] = $object->getInterval(); - } - if (null !== $object->getEnd()) { - $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); - } - - return $data; - } -} diff --git a/src/Normalizer/ScheduleJsonldNormalizer.php b/src/Normalizer/ScheduleJsonldNormalizer.php index 58f5fa14..b3b72ce6 100644 --- a/src/Normalizer/ScheduleJsonldNormalizer.php +++ b/src/Normalizer/ScheduleJsonldNormalizer.php @@ -27,19 +27,15 @@ class ScheduleJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ScheduleJsonld' === $type; + return $type === \Gyroscops\Api\Model\ScheduleJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\ScheduleJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,83 +50,83 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('type', $data) && null !== $data['type']) { + if (\array_key_exists('type', $data) && $data['type'] !== null) { $object->setType2($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { $object->setType2(null); } - if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { + if (\array_key_exists('startAt', $data) && $data['startAt'] !== null) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); - } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { + } elseif (\array_key_exists('startAt', $data) && $data['startAt'] === null) { $object->setStartAt(null); } - if (\array_key_exists('interval', $data) && null !== $data['interval']) { + if (\array_key_exists('interval', $data) && $data['interval'] !== null) { $object->setInterval($data['interval']); - } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + } elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { $object->setInterval(null); } - if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { + if (\array_key_exists('endAt', $data) && $data['endAt'] !== null) { $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); - } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { + } elseif (\array_key_exists('endAt', $data) && $data['endAt'] === null) { $object->setEndAt(null); } - if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { + if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { $object->setRecurrences($data['recurrences']); - } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + } elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { $object->setRecurrences(null); } - if (\array_key_exists('executions', $data) && null !== $data['executions']) { + if (\array_key_exists('executions', $data) && $data['executions'] !== null) { $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); - } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + } elseif (\array_key_exists('executions', $data) && $data['executions'] === null) { $object->setExecutions(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { $object->setWorkflow($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { $object->setWorkflow(null); } - if (\array_key_exists('owner', $data) && null !== $data['owner']) { + if (\array_key_exists('owner', $data) && $data['owner'] !== null) { $object->setOwner($data['owner']); - } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + } elseif (\array_key_exists('owner', $data) && $data['owner'] === null) { $object->setOwner(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } @@ -138,9 +134,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ScheduleNormalizer.php b/src/Normalizer/ScheduleNormalizer.php index 31cb086a..10046ef0 100644 --- a/src/Normalizer/ScheduleNormalizer.php +++ b/src/Normalizer/ScheduleNormalizer.php @@ -27,19 +27,15 @@ class ScheduleNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Schedule' === $type; + return $type === \Gyroscops\Api\Model\Schedule::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Schedule' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Schedule::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,68 +50,68 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('type', $data) && null !== $data['type']) { + if (\array_key_exists('type', $data) && $data['type'] !== null) { $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { + } elseif (\array_key_exists('type', $data) && $data['type'] === null) { $object->setType(null); } - if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { + if (\array_key_exists('startAt', $data) && $data['startAt'] !== null) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); - } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { + } elseif (\array_key_exists('startAt', $data) && $data['startAt'] === null) { $object->setStartAt(null); } - if (\array_key_exists('interval', $data) && null !== $data['interval']) { + if (\array_key_exists('interval', $data) && $data['interval'] !== null) { $object->setInterval($data['interval']); - } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + } elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { $object->setInterval(null); } - if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { + if (\array_key_exists('endAt', $data) && $data['endAt'] !== null) { $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); - } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { + } elseif (\array_key_exists('endAt', $data) && $data['endAt'] === null) { $object->setEndAt(null); } - if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { + if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { $object->setRecurrences($data['recurrences']); - } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + } elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { $object->setRecurrences(null); } - if (\array_key_exists('executions', $data) && null !== $data['executions']) { + if (\array_key_exists('executions', $data) && $data['executions'] !== null) { $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); - } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + } elseif (\array_key_exists('executions', $data) && $data['executions'] === null) { $object->setExecutions(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { $object->setWorkflow($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { $object->setWorkflow(null); } - if (\array_key_exists('owner', $data) && null !== $data['owner']) { + if (\array_key_exists('owner', $data) && $data['owner'] !== null) { $object->setOwner($data['owner']); - } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + } elseif (\array_key_exists('owner', $data) && $data['owner'] === null) { $object->setOwner(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } @@ -123,9 +119,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/ScheduleScheduleCommandInterfaceJsonldNormalizer.php b/src/Normalizer/ScheduleScheduleCommandInterfaceJsonldNormalizer.php new file mode 100644 index 00000000..16f9efb9 --- /dev/null +++ b/src/Normalizer/ScheduleScheduleCommandInterfaceJsonldNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php new file mode 100644 index 00000000..56c68607 --- /dev/null +++ b/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php @@ -0,0 +1,129 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId2()) { + $data['id'] = $object->getId2(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + 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/SecretChangeSecretValueInputNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputNormalizer.php new file mode 100644 index 00000000..22bb44b9 --- /dev/null +++ b/src/Normalizer/SecretChangeSecretValueInputNormalizer.php @@ -0,0 +1,114 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + 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/SecretCreateSecretInputJsonldNormalizer.php b/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php new file mode 100644 index 00000000..6ef333e3 --- /dev/null +++ b/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php @@ -0,0 +1,137 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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; + } + 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/SecretCreateSecretInputNormalizer.php b/src/Normalizer/SecretCreateSecretInputNormalizer.php new file mode 100644 index 00000000..975f3bd1 --- /dev/null +++ b/src/Normalizer/SecretCreateSecretInputNormalizer.php @@ -0,0 +1,122 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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; + } + 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/SecretEditNormalizer.php b/src/Normalizer/SecretEditNormalizer.php new file mode 100644 index 00000000..71a212ee --- /dev/null +++ b/src/Normalizer/SecretEditNormalizer.php @@ -0,0 +1,82 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + + return $object; + } + + /** + * @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(); + } + + return $data; + } +} diff --git a/src/Normalizer/SecretIdJsonldNormalizer.php b/src/Normalizer/SecretIdJsonldNormalizer.php new file mode 100644 index 00000000..7fc2e6ca --- /dev/null +++ b/src/Normalizer/SecretIdJsonldNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/SecretJsonldEditNormalizer.php b/src/Normalizer/SecretJsonldEditNormalizer.php new file mode 100644 index 00000000..daf60e35 --- /dev/null +++ b/src/Normalizer/SecretJsonldEditNormalizer.php @@ -0,0 +1,97 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + + return $object; + } + + /** + * @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(); + } + + return $data; + } +} diff --git a/src/Normalizer/SecretJsonldNormalizer.php b/src/Normalizer/SecretJsonldNormalizer.php index b8cb1714..39478be9 100644 --- a/src/Normalizer/SecretJsonldNormalizer.php +++ b/src/Normalizer/SecretJsonldNormalizer.php @@ -27,19 +27,15 @@ class SecretJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SecretJsonld' === $type; + return $type === \Gyroscops\Api\Model\SecretJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\SecretJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,49 +50,63 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $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']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $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']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { $object->setIterator(null); } @@ -104,9 +114,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -115,6 +122,9 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + if (null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } diff --git a/src/Normalizer/SecretJsonldReadNormalizer.php b/src/Normalizer/SecretJsonldReadNormalizer.php new file mode 100644 index 00000000..f02bad84 --- /dev/null +++ b/src/Normalizer/SecretJsonldReadNormalizer.php @@ -0,0 +1,119 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonldRead::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/SecretNormalizer.php b/src/Normalizer/SecretNormalizer.php index 5516c119..4eea6cb6 100644 --- a/src/Normalizer/SecretNormalizer.php +++ b/src/Normalizer/SecretNormalizer.php @@ -27,19 +27,15 @@ class SecretNormalizer implements DenormalizerInterface, NormalizerInterface, De public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Secret' === $type; + return $type === \Gyroscops\Api\Model\Secret::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Secret' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Secret::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { + $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { + $object->setSlug(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $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) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { $object->setIterator($data['iterator']); - } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { $object->setIterator(null); } @@ -89,9 +99,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -100,6 +107,9 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + if (null !== $object->getSlug()) { + $data['slug'] = $object->getSlug(); + } if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } diff --git a/src/Normalizer/SecretInputNormalizer.php b/src/Normalizer/SecretReadNormalizer.php similarity index 61% rename from src/Normalizer/SecretInputNormalizer.php rename to src/Normalizer/SecretReadNormalizer.php index 5b5bc0fb..e23490f5 100644 --- a/src/Normalizer/SecretInputNormalizer.php +++ b/src/Normalizer/SecretReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class SecretInputNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SecretInput' === $type; + return $type === \Gyroscops\Api\Model\SecretRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\SecretRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,37 +46,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretInput(); + $object = new \Gyroscops\Api\Model\SecretRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('description', $data) && null !== $data['description']) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { $object->setDescription(null); } - if (\array_key_exists('contents', $data) && null !== $data['contents']) { + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { $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']) { + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { $object->setContents(null); } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $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 = []) @@ -92,12 +95,8 @@ public function normalize($object, $format = null, array $context = []) 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; + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); } return $data; diff --git a/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php new file mode 100644 index 00000000..e74c7146 --- /dev/null +++ b/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php @@ -0,0 +1,129 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { + $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId2(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $values = []; + foreach ($data['contents'] as $value) { + $values[] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId2()) { + $data['id'] = $object->getId2(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + 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/SecretRemoveSecretValueInputNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php new file mode 100644 index 00000000..659d0a9c --- /dev/null +++ b/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php @@ -0,0 +1,114 @@ +setId($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('contents', $data) && $data['contents'] !== null) { + $values = []; + foreach ($data['contents'] as $value) { + $values[] = $value; + } + $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && $data['contents'] === null) { + $object->setContents(null); + } + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + $object->setOrganization(null); + } + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + $object->setWorkspace(null); + } + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { + $object->setIterator(null); + } + + return $object; + } + + /** + * @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->getContents()) { + $values = []; + foreach ($object->getContents() as $value) { + $values[] = $value; + } + $data['contents'] = $values; + } + 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/StepInputJsonldNormalizer.php b/src/Normalizer/StepInputJsonldNormalizer.php index 71864502..a79cb213 100644 --- a/src/Normalizer/StepInputJsonldNormalizer.php +++ b/src/Normalizer/StepInputJsonldNormalizer.php @@ -27,19 +27,15 @@ class StepInputJsonldNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\StepInputJsonld' === $type; + return $type === \Gyroscops\Api\Model\StepInputJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\StepInputJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\StepInputJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,51 +50,51 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('config', $data) && null !== $data['config']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['config'] as $key => $value) { + foreach ($data['configuration'] as $key => $value) { $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); + $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\ProbeJsonld::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -106,31 +102,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfig()) { - $values = []; - foreach ($object->getConfig() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['config'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/StepInputNormalizer.php b/src/Normalizer/StepInputNormalizer.php index 059554d6..93cddb83 100644 --- a/src/Normalizer/StepInputNormalizer.php +++ b/src/Normalizer/StepInputNormalizer.php @@ -27,19 +27,15 @@ class StepInputNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\StepInput' === $type; + return $type === \Gyroscops\Api\Model\StepInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\StepInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\StepInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,36 +50,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('config', $data) && null !== $data['config']) { + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['config'] as $key => $value) { + foreach ($data['configuration'] as $key => $value) { $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); + $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data) && null !== $data['probes']) { + if (\array_key_exists('probes', $data) && $data['probes'] !== null) { $values_2 = []; foreach ($data['probes'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Gyroscops\Api\Model\Probe::class, 'json', $context); } $object->setProbes($values_2); - } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + } elseif (\array_key_exists('probes', $data) && $data['probes'] === null) { $object->setProbes(null); } @@ -91,31 +87,22 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getCode()) { - $data['code'] = $object->getCode(); - } - if (null !== $object->getLabel()) { - $data['label'] = $object->getLabel(); - } - if (null !== $object->getConfig()) { - $values = []; - foreach ($object->getConfig() as $key => $value) { - $values_1 = []; - foreach ($value as $key_1 => $value_1) { - $values_1[$key_1] = $value_1; - } - $values[$key] = $values_1; + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $values = []; + foreach ($object->getConfiguration() as $key => $value) { + $values_1 = []; + foreach ($value as $key_1 => $value_1) { + $values_1[$key_1] = $value_1; } - $data['config'] = $values; + $values[$key] = $values_1; } + $data['configuration'] = $values; if (null !== $object->getProbes()) { $values_2 = []; foreach ($object->getProbes() as $value_2) { diff --git a/src/Normalizer/SubscriptionJsonldNormalizer.php b/src/Normalizer/SubscriptionJsonldNormalizer.php index bbef005f..5b293fe3 100644 --- a/src/Normalizer/SubscriptionJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionJsonldNormalizer.php @@ -27,19 +27,15 @@ class SubscriptionJsonldNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SubscriptionJsonld' === $type; + return $type === \Gyroscops\Api\Model\SubscriptionJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\SubscriptionJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,57 +50,57 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('offer', $data) && null !== $data['offer']) { + if (\array_key_exists('offer', $data) && $data['offer'] !== null) { $object->setOffer($data['offer']); - } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { $object->setOffer(null); } - if (\array_key_exists('options', $data) && null !== $data['options']) { + if (\array_key_exists('options', $data) && $data['options'] !== null) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); - } elseif (\array_key_exists('options', $data) && null === $data['options']) { + } elseif (\array_key_exists('options', $data) && $data['options'] === null) { $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']) { + if (\array_key_exists('cost', $data) && $data['cost'] !== null) { + $object->setCost($this->denormalizer->denormalize($data['cost'], \Gyroscops\Api\Model\PriceJsonld::class, 'json', $context)); + } elseif (\array_key_exists('cost', $data) && $data['cost'] === null) { $object->setCost(null); } - if (\array_key_exists('periods', $data) && null !== $data['periods']) { + if (\array_key_exists('periods', $data) && $data['periods'] !== null) { $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']) { + } elseif (\array_key_exists('periods', $data) && $data['periods'] === null) { $object->setPeriods(null); } @@ -112,9 +108,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/SubscriptionNormalizer.php b/src/Normalizer/SubscriptionNormalizer.php index b45bf019..50404c03 100644 --- a/src/Normalizer/SubscriptionNormalizer.php +++ b/src/Normalizer/SubscriptionNormalizer.php @@ -27,19 +27,15 @@ class SubscriptionNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Subscription' === $type; + return $type === \Gyroscops\Api\Model\Subscription::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Subscription' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Subscription::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('offer', $data) && null !== $data['offer']) { + if (\array_key_exists('offer', $data) && $data['offer'] !== null) { $object->setOffer($data['offer']); - } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + } elseif (\array_key_exists('offer', $data) && $data['offer'] === null) { $object->setOffer(null); } - if (\array_key_exists('options', $data) && null !== $data['options']) { + if (\array_key_exists('options', $data) && $data['options'] !== null) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); - } elseif (\array_key_exists('options', $data) && null === $data['options']) { + } elseif (\array_key_exists('options', $data) && $data['options'] === null) { $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']) { + if (\array_key_exists('cost', $data) && $data['cost'] !== null) { + $object->setCost($this->denormalizer->denormalize($data['cost'], \Gyroscops\Api\Model\Price::class, 'json', $context)); + } elseif (\array_key_exists('cost', $data) && $data['cost'] === null) { $object->setCost(null); } - if (\array_key_exists('periods', $data) && null !== $data['periods']) { + if (\array_key_exists('periods', $data) && $data['periods'] !== null) { $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']) { + } elseif (\array_key_exists('periods', $data) && $data['periods'] === null) { $object->setPeriods(null); } @@ -97,9 +93,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php index 8216347c..3f0369d7 100644 --- a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php @@ -27,19 +27,15 @@ class SubscriptionOptionJsonldNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' === $type; + return $type === \Gyroscops\Api\Model\SubscriptionOptionJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\SubscriptionOptionJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { + if (\array_key_exists('subscription', $data) && $data['subscription'] !== null) { $object->setSubscription($data['subscription']); - } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { + } elseif (\array_key_exists('subscription', $data) && $data['subscription'] === null) { $object->setSubscription(null); } - if (\array_key_exists('option', $data) && null !== $data['option']) { + if (\array_key_exists('option', $data) && $data['option'] !== null) { $object->setOption($data['option']); - } elseif (\array_key_exists('option', $data) && null === $data['option']) { + } elseif (\array_key_exists('option', $data) && $data['option'] === null) { $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']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { + $object->setPrice($this->denormalizer->denormalize($data['price'], \Gyroscops\Api\Model\PriceJsonld::class, 'json', $context)); + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/SubscriptionOptionNormalizer.php b/src/Normalizer/SubscriptionOptionNormalizer.php index f94b5688..68a93758 100644 --- a/src/Normalizer/SubscriptionOptionNormalizer.php +++ b/src/Normalizer/SubscriptionOptionNormalizer.php @@ -27,19 +27,15 @@ class SubscriptionOptionNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\SubscriptionOption' === $type; + return $type === \Gyroscops\Api\Model\SubscriptionOption::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\SubscriptionOption' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\SubscriptionOption::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { + if (\array_key_exists('subscription', $data) && $data['subscription'] !== null) { $object->setSubscription($data['subscription']); - } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { + } elseif (\array_key_exists('subscription', $data) && $data['subscription'] === null) { $object->setSubscription(null); } - if (\array_key_exists('option', $data) && null !== $data['option']) { + if (\array_key_exists('option', $data) && $data['option'] !== null) { $object->setOption($data['option']); - } elseif (\array_key_exists('option', $data) && null === $data['option']) { + } elseif (\array_key_exists('option', $data) && $data['option'] === null) { $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']) { + if (\array_key_exists('price', $data) && $data['price'] !== null) { + $object->setPrice($this->denormalizer->denormalize($data['price'], \Gyroscops\Api\Model\Price::class, 'json', $context)); + } elseif (\array_key_exists('price', $data) && $data['price'] === null) { $object->setPrice(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/TokenNormalizer.php b/src/Normalizer/TokenNormalizer.php index 45c4d2e2..a5490e38 100644 --- a/src/Normalizer/TokenNormalizer.php +++ b/src/Normalizer/TokenNormalizer.php @@ -27,19 +27,15 @@ class TokenNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Token' === $type; + return $type === \Gyroscops\Api\Model\Token::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Token' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Token::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('token', $data) && null !== $data['token']) { + if (\array_key_exists('token', $data) && $data['token'] !== null) { $object->setToken($data['token']); - } elseif (\array_key_exists('token', $data) && null === $data['token']) { + } elseif (\array_key_exists('token', $data) && $data['token'] === null) { $object->setToken(null); } @@ -64,13 +60,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/TraversableJsonldNormalizer.php b/src/Normalizer/TraversableJsonldNormalizer.php index 9aefa869..87862c07 100644 --- a/src/Normalizer/TraversableJsonldNormalizer.php +++ b/src/Normalizer/TraversableJsonldNormalizer.php @@ -27,19 +27,15 @@ class TraversableJsonldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\TraversableJsonld' === $type; + return $type === \Gyroscops\Api\Model\TraversableJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\TraversableJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\TraversableJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } @@ -74,13 +70,12 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - return []; + $data = []; + + return $data; } } diff --git a/src/Normalizer/TraversableJsonldReadNormalizer.php b/src/Normalizer/TraversableJsonldReadNormalizer.php new file mode 100644 index 00000000..378a2e9e --- /dev/null +++ b/src/Normalizer/TraversableJsonldReadNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/UpdateListJsonldNormalizer.php b/src/Normalizer/UpdateListJsonldNormalizer.php index 8db2bdd2..980e9455 100644 --- a/src/Normalizer/UpdateListJsonldNormalizer.php +++ b/src/Normalizer/UpdateListJsonldNormalizer.php @@ -27,19 +27,15 @@ class UpdateListJsonldNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UpdateListJsonld' === $type; + return $type === \Gyroscops\Api\Model\UpdateListJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UpdateListJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\UpdateListJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(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']) { + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], \Gyroscops\Api\Model\TraversableJsonld::class, 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { $object->setIterator(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/UpdateListNormalizer.php b/src/Normalizer/UpdateListNormalizer.php index 072e331f..549e749d 100644 --- a/src/Normalizer/UpdateListNormalizer.php +++ b/src/Normalizer/UpdateListNormalizer.php @@ -27,19 +27,15 @@ class UpdateListNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UpdateList' === $type; + return $type === \Gyroscops\Api\Model\UpdateList::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UpdateList' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\UpdateList::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { + if (\array_key_exists('iterator', $data) && $data['iterator'] !== null) { $object->setIterator($data['iterator']); - } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + } elseif (\array_key_exists('iterator', $data) && $data['iterator'] === null) { $object->setIterator(null); } @@ -64,9 +60,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/UserAuthorizationJsonldNormalizer.php b/src/Normalizer/UserAuthorizationJsonldNormalizer.php index 6504c1fc..a45c91c3 100644 --- a/src/Normalizer/UserAuthorizationJsonldNormalizer.php +++ b/src/Normalizer/UserAuthorizationJsonldNormalizer.php @@ -27,19 +27,15 @@ class UserAuthorizationJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' === $type; + return $type === \Gyroscops\Api\Model\UserAuthorizationJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\UserAuthorizationJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,53 +50,53 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('resource', $data) && null !== $data['resource']) { + if (\array_key_exists('resource', $data) && $data['resource'] !== null) { $object->setResource($data['resource']); - } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + } elseif (\array_key_exists('resource', $data) && $data['resource'] === null) { $object->setResource(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } @@ -108,17 +104,20 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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(); - $data['workspace'] = $object->getWorkspace(); - $data['organization'] = $object->getOrganization(); + if (null !== $object->getUser()) { + $data['user'] = $object->getUser(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } $data['resource'] = $object->getResource(); $values = []; foreach ($object->getAuthorizations() as $value) { diff --git a/src/Normalizer/UserAuthorizationNormalizer.php b/src/Normalizer/UserAuthorizationNormalizer.php index ad8e0087..bf58dceb 100644 --- a/src/Normalizer/UserAuthorizationNormalizer.php +++ b/src/Normalizer/UserAuthorizationNormalizer.php @@ -27,19 +27,15 @@ class UserAuthorizationNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UserAuthorization' === $type; + return $type === \Gyroscops\Api\Model\UserAuthorization::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorization' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\UserAuthorization::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,38 +50,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('user', $data) && null !== $data['user']) { + if (\array_key_exists('user', $data) && $data['user'] !== null) { $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $object->setWorkspace($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('resource', $data) && null !== $data['resource']) { + if (\array_key_exists('resource', $data) && $data['resource'] !== null) { $object->setResource($data['resource']); - } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + } elseif (\array_key_exists('resource', $data) && $data['resource'] === null) { $object->setResource(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } @@ -93,17 +89,20 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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(); - $data['workspace'] = $object->getWorkspace(); - $data['organization'] = $object->getOrganization(); + if (null !== $object->getUser()) { + $data['user'] = $object->getUser(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } $data['resource'] = $object->getResource(); $values = []; foreach ($object->getAuthorizations() as $value) { diff --git a/src/Normalizer/UserJsonldNormalizer.php b/src/Normalizer/UserJsonldNormalizer.php index 25c02794..a96e3676 100644 --- a/src/Normalizer/UserJsonldNormalizer.php +++ b/src/Normalizer/UserJsonldNormalizer.php @@ -27,19 +27,15 @@ class UserJsonldNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UserJsonld' === $type; + return $type === \Gyroscops\Api\Model\UserJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UserJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\UserJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,57 +50,57 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('username', $data) && null !== $data['username']) { + if (\array_key_exists('username', $data) && $data['username'] !== null) { $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { + } elseif (\array_key_exists('username', $data) && $data['username'] === null) { $object->setUsername(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('password', $data) && null !== $data['password']) { + if (\array_key_exists('password', $data) && $data['password'] !== null) { $object->setPassword($data['password']); - } elseif (\array_key_exists('password', $data) && null === $data['password']) { + } elseif (\array_key_exists('password', $data) && $data['password'] === null) { $object->setPassword(null); } - if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { + if (\array_key_exists('enabled', $data) && $data['enabled'] !== null) { $object->setEnabled($data['enabled']); - } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + } elseif (\array_key_exists('enabled', $data) && $data['enabled'] === null) { $object->setEnabled(null); } - if (\array_key_exists('roles', $data) && null !== $data['roles']) { + if (\array_key_exists('roles', $data) && $data['roles'] !== null) { $values = []; foreach ($data['roles'] as $value) { $values_1 = []; @@ -114,81 +110,86 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[] = $values_1; } $object->setRoles($values); - } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + } elseif (\array_key_exists('roles', $data) && $data['roles'] === null) { $object->setRoles(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values_2 = []; foreach ($data['authorizations'] as $value_2) { $values_2[] = $value_2; } $object->setAuthorizations($values_2); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('additionalOrganizations', $data) && null !== $data['additionalOrganizations']) { + if (\array_key_exists('additionalOrganizations', $data) && $data['additionalOrganizations'] !== null) { $values_3 = []; foreach ($data['additionalOrganizations'] as $value_3) { $values_3[] = $value_3; } $object->setAdditionalOrganizations($values_3); - } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + } elseif (\array_key_exists('additionalOrganizations', $data) && $data['additionalOrganizations'] === null) { $object->setAdditionalOrganizations(null); } - if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== null) { $values_4 = []; foreach ($data['workspaces'] as $value_4) { $values_4[] = $value_4; } $object->setWorkspaces($values_4); - } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { $object->setWorkspaces(null); } - if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { + if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { $object->setCurrentWorkspace($data['currentWorkspace']); - } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { + } elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { $object->setCurrentWorkspace(null); } - if (\array_key_exists('referralCodes', $data) && null !== $data['referralCodes']) { + if (\array_key_exists('currentOrganization', $data) && $data['currentOrganization'] !== null) { + $object->setCurrentOrganization($data['currentOrganization']); + } elseif (\array_key_exists('currentOrganization', $data) && $data['currentOrganization'] === null) { + $object->setCurrentOrganization(null); + } + if (\array_key_exists('referralCodes', $data) && $data['referralCodes'] !== null) { $values_5 = []; foreach ($data['referralCodes'] as $value_5) { $values_5[] = $value_5; } $object->setReferralCodes($values_5); - } elseif (\array_key_exists('referralCodes', $data) && null === $data['referralCodes']) { + } elseif (\array_key_exists('referralCodes', $data) && $data['referralCodes'] === null) { $object->setReferralCodes(null); } - if (\array_key_exists('acceptedReferralRequests', $data) && null !== $data['acceptedReferralRequests']) { + if (\array_key_exists('acceptedReferralRequests', $data) && $data['acceptedReferralRequests'] !== null) { $values_6 = []; foreach ($data['acceptedReferralRequests'] as $value_6) { $values_6[] = $value_6; } $object->setAcceptedReferralRequests($values_6); - } elseif (\array_key_exists('acceptedReferralRequests', $data) && null === $data['acceptedReferralRequests']) { + } elseif (\array_key_exists('acceptedReferralRequests', $data) && $data['acceptedReferralRequests'] === null) { $object->setAcceptedReferralRequests(null); } - if (\array_key_exists('userIdentifier', $data) && null !== $data['userIdentifier']) { + if (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] !== null) { $object->setUserIdentifier($data['userIdentifier']); - } elseif (\array_key_exists('userIdentifier', $data) && null === $data['userIdentifier']) { + } elseif (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] === null) { $object->setUserIdentifier(null); } - if (\array_key_exists('salt', $data) && null !== $data['salt']) { + if (\array_key_exists('salt', $data) && $data['salt'] !== null) { $object->setSalt($data['salt']); - } elseif (\array_key_exists('salt', $data) && null === $data['salt']) { + } elseif (\array_key_exists('salt', $data) && $data['salt'] === null) { $object->setSalt(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $values_7 = []; foreach ($data['workspace'] as $value_7) { $values_7[] = $value_7; } $object->setWorkspace($values_7); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } @@ -196,9 +197,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -254,6 +252,9 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getCurrentWorkspace()) { $data['currentWorkspace'] = $object->getCurrentWorkspace(); } + if (null !== $object->getCurrentOrganization()) { + $data['currentOrganization'] = $object->getCurrentOrganization(); + } if (null !== $object->getWorkspace()) { $values_5 = []; foreach ($object->getWorkspace() as $value_5) { diff --git a/src/Normalizer/UserNormalizer.php b/src/Normalizer/UserNormalizer.php index 6e7e9239..89fd5d90 100644 --- a/src/Normalizer/UserNormalizer.php +++ b/src/Normalizer/UserNormalizer.php @@ -27,19 +27,15 @@ class UserNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\User' === $type; + return $type === \Gyroscops\Api\Model\User::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\User' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\User::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { + if (\array_key_exists('firstName', $data) && $data['firstName'] !== null) { $object->setFirstName($data['firstName']); - } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + } elseif (\array_key_exists('firstName', $data) && $data['firstName'] === null) { $object->setFirstName(null); } - if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { + if (\array_key_exists('lastName', $data) && $data['lastName'] !== null) { $object->setLastName($data['lastName']); - } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + } elseif (\array_key_exists('lastName', $data) && $data['lastName'] === null) { $object->setLastName(null); } - if (\array_key_exists('username', $data) && null !== $data['username']) { + if (\array_key_exists('username', $data) && $data['username'] !== null) { $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { + } elseif (\array_key_exists('username', $data) && $data['username'] === null) { $object->setUsername(null); } - if (\array_key_exists('email', $data) && null !== $data['email']) { + if (\array_key_exists('email', $data) && $data['email'] !== null) { $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { + } elseif (\array_key_exists('email', $data) && $data['email'] === null) { $object->setEmail(null); } - if (\array_key_exists('password', $data) && null !== $data['password']) { + if (\array_key_exists('password', $data) && $data['password'] !== null) { $object->setPassword($data['password']); - } elseif (\array_key_exists('password', $data) && null === $data['password']) { + } elseif (\array_key_exists('password', $data) && $data['password'] === null) { $object->setPassword(null); } - if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { + if (\array_key_exists('enabled', $data) && $data['enabled'] !== null) { $object->setEnabled($data['enabled']); - } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + } elseif (\array_key_exists('enabled', $data) && $data['enabled'] === null) { $object->setEnabled(null); } - if (\array_key_exists('roles', $data) && null !== $data['roles']) { + if (\array_key_exists('roles', $data) && $data['roles'] !== null) { $values = []; foreach ($data['roles'] as $value) { $values_1 = []; @@ -99,81 +95,86 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[] = $values_1; } $object->setRoles($values); - } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + } elseif (\array_key_exists('roles', $data) && $data['roles'] === null) { $object->setRoles(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values_2 = []; foreach ($data['authorizations'] as $value_2) { $values_2[] = $value_2; } $object->setAuthorizations($values_2); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('additionalOrganizations', $data) && null !== $data['additionalOrganizations']) { + if (\array_key_exists('additionalOrganizations', $data) && $data['additionalOrganizations'] !== null) { $values_3 = []; foreach ($data['additionalOrganizations'] as $value_3) { $values_3[] = $value_3; } $object->setAdditionalOrganizations($values_3); - } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + } elseif (\array_key_exists('additionalOrganizations', $data) && $data['additionalOrganizations'] === null) { $object->setAdditionalOrganizations(null); } - if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { + if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== null) { $values_4 = []; foreach ($data['workspaces'] as $value_4) { $values_4[] = $value_4; } $object->setWorkspaces($values_4); - } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + } elseif (\array_key_exists('workspaces', $data) && $data['workspaces'] === null) { $object->setWorkspaces(null); } - if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { + if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { $object->setCurrentWorkspace($data['currentWorkspace']); - } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { + } elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { $object->setCurrentWorkspace(null); } - if (\array_key_exists('referralCodes', $data) && null !== $data['referralCodes']) { + if (\array_key_exists('currentOrganization', $data) && $data['currentOrganization'] !== null) { + $object->setCurrentOrganization($data['currentOrganization']); + } elseif (\array_key_exists('currentOrganization', $data) && $data['currentOrganization'] === null) { + $object->setCurrentOrganization(null); + } + if (\array_key_exists('referralCodes', $data) && $data['referralCodes'] !== null) { $values_5 = []; foreach ($data['referralCodes'] as $value_5) { $values_5[] = $value_5; } $object->setReferralCodes($values_5); - } elseif (\array_key_exists('referralCodes', $data) && null === $data['referralCodes']) { + } elseif (\array_key_exists('referralCodes', $data) && $data['referralCodes'] === null) { $object->setReferralCodes(null); } - if (\array_key_exists('acceptedReferralRequests', $data) && null !== $data['acceptedReferralRequests']) { + if (\array_key_exists('acceptedReferralRequests', $data) && $data['acceptedReferralRequests'] !== null) { $values_6 = []; foreach ($data['acceptedReferralRequests'] as $value_6) { $values_6[] = $value_6; } $object->setAcceptedReferralRequests($values_6); - } elseif (\array_key_exists('acceptedReferralRequests', $data) && null === $data['acceptedReferralRequests']) { + } elseif (\array_key_exists('acceptedReferralRequests', $data) && $data['acceptedReferralRequests'] === null) { $object->setAcceptedReferralRequests(null); } - if (\array_key_exists('userIdentifier', $data) && null !== $data['userIdentifier']) { + if (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] !== null) { $object->setUserIdentifier($data['userIdentifier']); - } elseif (\array_key_exists('userIdentifier', $data) && null === $data['userIdentifier']) { + } elseif (\array_key_exists('userIdentifier', $data) && $data['userIdentifier'] === null) { $object->setUserIdentifier(null); } - if (\array_key_exists('salt', $data) && null !== $data['salt']) { + if (\array_key_exists('salt', $data) && $data['salt'] !== null) { $object->setSalt($data['salt']); - } elseif (\array_key_exists('salt', $data) && null === $data['salt']) { + } elseif (\array_key_exists('salt', $data) && $data['salt'] === null) { $object->setSalt(null); } - if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { $values_7 = []; foreach ($data['workspace'] as $value_7) { $values_7[] = $value_7; } $object->setWorkspace($values_7); - } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { $object->setWorkspace(null); } @@ -181,9 +182,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -239,6 +237,9 @@ public function normalize($object, $format = null, array $context = []) if (null !== $object->getCurrentWorkspace()) { $data['currentWorkspace'] = $object->getCurrentWorkspace(); } + if (null !== $object->getCurrentOrganization()) { + $data['currentOrganization'] = $object->getCurrentOrganization(); + } if (null !== $object->getWorkspace()) { $values_5 = []; foreach ($object->getWorkspace() as $value_5) { diff --git a/src/Normalizer/UserUserChangePasswordInputNormalizer.php b/src/Normalizer/UserUserChangePasswordInputNormalizer.php index b210cdfa..72d73042 100644 --- a/src/Normalizer/UserUserChangePasswordInputNormalizer.php +++ b/src/Normalizer/UserUserChangePasswordInputNormalizer.php @@ -27,19 +27,15 @@ class UserUserChangePasswordInputNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' === $type; + return $type === \Gyroscops\Api\Model\UserUserChangePasswordInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\UserUserChangePasswordInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('currentPassword', $data) && null !== $data['currentPassword']) { + if (\array_key_exists('currentPassword', $data) && $data['currentPassword'] !== null) { $object->setCurrentPassword($data['currentPassword']); - } elseif (\array_key_exists('currentPassword', $data) && null === $data['currentPassword']) { + } elseif (\array_key_exists('currentPassword', $data) && $data['currentPassword'] === null) { $object->setCurrentPassword(null); } - if (\array_key_exists('newPassword', $data) && null !== $data['newPassword']) { + if (\array_key_exists('newPassword', $data) && $data['newPassword'] !== null) { $object->setNewPassword($data['newPassword']); - } elseif (\array_key_exists('newPassword', $data) && null === $data['newPassword']) { + } elseif (\array_key_exists('newPassword', $data) && $data['newPassword'] === null) { $object->setNewPassword(null); } - if (\array_key_exists('confirmPassword', $data) && null !== $data['confirmPassword']) { + if (\array_key_exists('confirmPassword', $data) && $data['confirmPassword'] !== null) { $object->setConfirmPassword($data['confirmPassword']); - } elseif (\array_key_exists('confirmPassword', $data) && null === $data['confirmPassword']) { + } elseif (\array_key_exists('confirmPassword', $data) && $data['confirmPassword'] === null) { $object->setConfirmPassword(null); } @@ -74,9 +70,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php b/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php new file mode 100644 index 00000000..1952a4a5 --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php @@ -0,0 +1,97 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && $data['from'] !== null) { + $object->setFrom($data['from']); + } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + $object->setFrom(null); + } + + return $object; + } + + /** + * @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->getFrom()) { + $data['from'] = $object->getFrom(); + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigurationInputNormalizer.php b/src/Normalizer/VariableFromConfigurationInputNormalizer.php new file mode 100644 index 00000000..0ceb7ed3 --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationInputNormalizer.php @@ -0,0 +1,82 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && $data['from'] !== null) { + $object->setFrom($data['from']); + } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + $object->setFrom(null); + } + + return $object; + } + + /** + * @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->getFrom()) { + $data['from'] = $object->getFrom(); + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php similarity index 54% rename from src/Normalizer/VariableFromConfigMapJsonldNormalizer.php rename to src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php index bff264fa..51233ab5 100644 --- a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConfigMapJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConfigurationJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class VariableFromConfigMapJsonldNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' === $type; + return $type === \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,48 +46,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConfigMapJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('configMap', $data) && null !== $data['configMap']) { - $object->setConfigMap($data['configMap']); - } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { - $object->setConfigMap(null); + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { + $object->setConfiguration($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + $object->setConfiguration(null); } - if (\array_key_exists('item', $data) && null !== $data['item']) { + if (\array_key_exists('item', $data) && $data['item'] !== null) { $object->setItem($data['item']); - } elseif (\array_key_exists('item', $data) && null === $data['item']) { + } elseif (\array_key_exists('item', $data) && $data['item'] === null) { $object->setItem(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('environment', $data) && null !== $data['environment']) { + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { $object->setEnvironment($data['environment']); - } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } @@ -99,16 +90,13 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getConfigMap()) { - $data['configMap'] = $object->getConfigMap(); + if (null !== $object->getConfiguration()) { + $data['configuration'] = $object->getConfiguration(); } if (null !== $object->getItem()) { $data['item'] = $object->getItem(); diff --git a/src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php new file mode 100644 index 00000000..c8009b84 --- /dev/null +++ b/src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConfigMapNormalizer.php b/src/Normalizer/VariableFromConfigurationReadNormalizer.php similarity index 57% rename from src/Normalizer/VariableFromConfigMapNormalizer.php rename to src/Normalizer/VariableFromConfigurationReadNormalizer.php index d061d050..9ddbeca6 100644 --- a/src/Normalizer/VariableFromConfigMapNormalizer.php +++ b/src/Normalizer/VariableFromConfigurationReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConfigMapNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConfigurationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class VariableFromConfigMapNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\VariableFromConfigMap' === $type; + return $type === \Gyroscops\Api\Model\VariableFromConfigurationRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigMap' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableFromConfigurationRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,33 +46,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConfigMap(); + $object = new \Gyroscops\Api\Model\VariableFromConfigurationRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('configMap', $data) && null !== $data['configMap']) { - $object->setConfigMap($data['configMap']); - } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { - $object->setConfigMap(null); + if (\array_key_exists('configuration', $data) && $data['configuration'] !== null) { + $object->setConfiguration($data['configuration']); + } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { + $object->setConfiguration(null); } - if (\array_key_exists('item', $data) && null !== $data['item']) { + if (\array_key_exists('item', $data) && $data['item'] !== null) { $object->setItem($data['item']); - } elseif (\array_key_exists('item', $data) && null === $data['item']) { + } elseif (\array_key_exists('item', $data) && $data['item'] === null) { $object->setItem(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('environment', $data) && null !== $data['environment']) { + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { $object->setEnvironment($data['environment']); - } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } @@ -84,16 +75,13 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getConfigMap()) { - $data['configMap'] = $object->getConfigMap(); + if (null !== $object->getConfiguration()) { + $data['configuration'] = $object->getConfiguration(); } if (null !== $object->getItem()) { $data['item'] = $object->getItem(); diff --git a/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php b/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php new file mode 100644 index 00000000..86966515 --- /dev/null +++ b/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php @@ -0,0 +1,97 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('value', $data) && $data['value'] !== null) { + $object->setValue($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); + } + + return $object; + } + + /** + * @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->getValue()) { + $data['value'] = $object->getValue(); + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantInputNormalizer.php b/src/Normalizer/VariableFromConstantInputNormalizer.php new file mode 100644 index 00000000..d345c2d6 --- /dev/null +++ b/src/Normalizer/VariableFromConstantInputNormalizer.php @@ -0,0 +1,82 @@ +setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('value', $data) && $data['value'] !== null) { + $object->setValue($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); + } + + return $object; + } + + /** + * @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->getValue()) { + $data['value'] = $object->getValue(); + } + + return $data; + } +} diff --git a/src/Normalizer/VariableJsonldNormalizer.php b/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php similarity index 59% rename from src/Normalizer/VariableJsonldNormalizer.php rename to src/Normalizer/VariableFromConstantJsonldReadNormalizer.php index b2f9863e..bc1eb164 100644 --- a/src/Normalizer/VariableJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class VariableJsonldNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\VariableJsonld' === $type; + return $type === \Gyroscops\Api\Model\VariableFromConstantJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableFromConstantJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,38 +46,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromConstantJsonldRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $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('value', $data) && $data['value'] !== null) { + $object->setValue($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); } - if (\array_key_exists('environment', $data) && null !== $data['environment']) { + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { $object->setEnvironment($data['environment']); - } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } @@ -89,14 +85,14 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @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->getValue()) { + $data['value'] = $object->getValue(); + } if (null !== $object->getEnvironment()) { $data['environment'] = $object->getEnvironment(); } diff --git a/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php b/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php new file mode 100644 index 00000000..2d5f030e --- /dev/null +++ b/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/VariableFromConstantReadNormalizer.php b/src/Normalizer/VariableFromConstantReadNormalizer.php new file mode 100644 index 00000000..c52b0f5d --- /dev/null +++ b/src/Normalizer/VariableFromConstantReadNormalizer.php @@ -0,0 +1,90 @@ +setValue($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); + } + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + $object->setEnvironment($data['environment']); + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if (null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php b/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php new file mode 100644 index 00000000..f7759051 --- /dev/null +++ b/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php @@ -0,0 +1,97 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && $data['from'] !== null) { + $object->setFrom($data['from']); + } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + $object->setFrom(null); + } + + return $object; + } + + /** + * @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->getFrom()) { + $data['from'] = $object->getFrom(); + } + + return $data; + } +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/VariableFromSecretInputNormalizer.php similarity index 60% rename from src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php rename to src/Normalizer/VariableFromSecretInputNormalizer.php index 3358c875..8b84b767 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/VariableFromSecretInputNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionInterruptPipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class ExecutionInterruptPipelineExecutionCommandInputNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' === $type; + return $type === \Gyroscops\Api\Model\VariableFromSecretInput::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableFromSecretInput::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,30 +46,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput(); + $object = new \Gyroscops\Api\Model\VariableFromSecretInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + if (\array_key_exists('from', $data) && $data['from'] !== null) { + $object->setFrom($data['from']); + } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + $object->setFrom(null); } return $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->getExecution()) { - $data['execution'] = $object->getExecution(); + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getFrom()) { + $data['from'] = $object->getFrom(); } return $data; diff --git a/src/Normalizer/VariableFromSecretJsonldNormalizer.php b/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php similarity index 60% rename from src/Normalizer/VariableFromSecretJsonldNormalizer.php rename to src/Normalizer/VariableFromSecretJsonldReadNormalizer.php index be2fe626..0cb32eac 100644 --- a/src/Normalizer/VariableFromSecretJsonldNormalizer.php +++ b/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromSecretJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class VariableFromSecretJsonldNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' === $type; + return $type === \Gyroscops\Api\Model\VariableFromSecretJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableFromSecretJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,48 +46,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromSecretJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromSecretJsonldRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('secret', $data) && null !== $data['secret']) { + if (\array_key_exists('secret', $data) && $data['secret'] !== null) { $object->setSecret($data['secret']); - } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { $object->setSecret(null); } - if (\array_key_exists('item', $data) && null !== $data['item']) { + if (\array_key_exists('item', $data) && $data['item'] !== null) { $object->setItem($data['item']); - } elseif (\array_key_exists('item', $data) && null === $data['item']) { + } elseif (\array_key_exists('item', $data) && $data['item'] === null) { $object->setItem(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('environment', $data) && null !== $data['environment']) { + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { $object->setEnvironment($data['environment']); - } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } @@ -99,9 +90,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php b/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php new file mode 100644 index 00000000..79da99cb --- /dev/null +++ b/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/VariableFromSecretNormalizer.php b/src/Normalizer/VariableFromSecretReadNormalizer.php similarity index 63% rename from src/Normalizer/VariableFromSecretNormalizer.php rename to src/Normalizer/VariableFromSecretReadNormalizer.php index 3f597958..94f98738 100644 --- a/src/Normalizer/VariableFromSecretNormalizer.php +++ b/src/Normalizer/VariableFromSecretReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromSecretNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class VariableFromSecretNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\VariableFromSecret' === $type; + return $type === \Gyroscops\Api\Model\VariableFromSecretRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecret' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableFromSecretRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,33 +46,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromSecret(); + $object = new \Gyroscops\Api\Model\VariableFromSecretRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('secret', $data) && null !== $data['secret']) { + if (\array_key_exists('secret', $data) && $data['secret'] !== null) { $object->setSecret($data['secret']); - } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + } elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { $object->setSecret(null); } - if (\array_key_exists('item', $data) && null !== $data['item']) { + if (\array_key_exists('item', $data) && $data['item'] !== null) { $object->setItem($data['item']); - } elseif (\array_key_exists('item', $data) && null === $data['item']) { + } elseif (\array_key_exists('item', $data) && $data['item'] === null) { $object->setItem(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('environment', $data) && null !== $data['environment']) { + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { $object->setEnvironment($data['environment']); - } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } @@ -84,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/VariableJsonldReadNormalizer.php b/src/Normalizer/VariableJsonldReadNormalizer.php new file mode 100644 index 00000000..29113f79 --- /dev/null +++ b/src/Normalizer/VariableJsonldReadNormalizer.php @@ -0,0 +1,92 @@ +setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + $object->setEnvironment($data['environment']); + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + $object->setEnvironment(null); + } + if (\array_key_exists('name', $data) && $data['name'] !== null) { + $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getEnvironment()) { + $data['environment'] = $object->getEnvironment(); + } + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + + return $data; + } +} diff --git a/src/Normalizer/VariableNormalizer.php b/src/Normalizer/VariableReadNormalizer.php similarity index 65% rename from src/Normalizer/VariableNormalizer.php rename to src/Normalizer/VariableReadNormalizer.php index 8ebb377a..6428fc31 100644 --- a/src/Normalizer/VariableNormalizer.php +++ b/src/Normalizer/VariableReadNormalizer.php @@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -27,19 +27,15 @@ class VariableNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Variable' === $type; + return $type === \Gyroscops\Api\Model\VariableRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Variable' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\VariableRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -50,23 +46,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Variable(); + $object = new \Gyroscops\Api\Model\VariableRead(); if (null === $data || false === \is_array($data)) { return $object; } - 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) && null !== $data['environment']) { + if (\array_key_exists('environment', $data) && $data['environment'] !== null) { $object->setEnvironment($data['environment']); - } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } @@ -74,9 +65,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php index 2bbdfb46..a1e0b2d6 100644 --- a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobActionJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobActionJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobActionJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,29 +50,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } @@ -84,9 +80,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php index 1299aebd..31085a39 100644 --- a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobActionJsonldReadNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobActionJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobActionJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,24 +50,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } @@ -79,9 +75,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJobActionNormalizer.php b/src/Normalizer/WorkflowJobActionNormalizer.php index 7821c4dc..cdc9b70f 100644 --- a/src/Normalizer/WorkflowJobActionNormalizer.php +++ b/src/Normalizer/WorkflowJobActionNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobActionNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobAction' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobAction::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAction' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobAction::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,14 +50,14 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } @@ -69,9 +65,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJobActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionReadNormalizer.php index 2eee7b56..7ca372af 100644 --- a/src/Normalizer/WorkflowJobActionReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobActionReadNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobActionRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobActionRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,9 +50,9 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } @@ -64,9 +60,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php index 63b02b63..2f0874a3 100644 --- a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobJsonldReadNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,34 +50,34 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { $object->setWorkflow($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && null !== $data['action']) { + if (\array_key_exists('action', $data) && $data['action'] !== null) { $object->setAction($data['action']); - } elseif (\array_key_exists('action', $data) && null === $data['action']) { + } elseif (\array_key_exists('action', $data) && $data['action'] === null) { $object->setAction(null); } @@ -89,9 +85,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php index 88e98ae3..e6d13fc1 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobPipelineJsonldNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobPipelineJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobPipelineJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,71 +50,98 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { $object->setRuntime(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $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']) { + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { $object->setAutoload(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['steps'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setSteps($values_2); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -126,9 +149,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -139,22 +159,36 @@ public function normalize($object, $format = null, array $context = []) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; } - $data['runtime'] = $values; - $values_1 = []; - foreach ($object->getAutoload() as $value_1) { - $values_1[] = $value_1; + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; } - $data['autoload'] = $values_1; + $values_2 = []; + foreach ($object->getRepositories() as $value_2) { + $values_2[] = $value_2; + } + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; + } + $data['auths'] = $values_3; if (null !== $object->getSteps()) { - $values_2 = []; - foreach ($object->getSteps() as $value_2) { - $values_2[] = $value_2; + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_2; + $data['steps'] = $values_4; } return $data; diff --git a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php index 1256bf0c..827998f9 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobPipelineJsonldReadNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobPipelineJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobPipelineJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,66 +50,93 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { $object->setRuntime(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $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']) { + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { $object->setAutoload(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['steps'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setSteps($values_2); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -121,9 +144,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -133,22 +153,36 @@ public function normalize($object, $format = null, array $context = []) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; } - $data['runtime'] = $values; - $values_1 = []; - foreach ($object->getAutoload() as $value_1) { - $values_1[] = $value_1; + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; + } + $values_2 = []; + foreach ($object->getRepositories() as $value_2) { + $values_2[] = $value_2; } - $data['autoload'] = $values_1; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; + } + $data['auths'] = $values_3; if (null !== $object->getSteps()) { - $values_2 = []; - foreach ($object->getSteps() as $value_2) { - $values_2[] = $value_2; + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_2; + $data['steps'] = $values_4; } return $data; diff --git a/src/Normalizer/WorkflowJobPipelineNormalizer.php b/src/Normalizer/WorkflowJobPipelineNormalizer.php index ccdc2c5f..0fe8e296 100644 --- a/src/Normalizer/WorkflowJobPipelineNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobPipelineNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobPipeline::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobPipeline::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,56 +50,83 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('job', $data) && null !== $data['job']) { + if (\array_key_exists('job', $data) && $data['job'] !== null) { $object->setJob($data['job']); - } elseif (\array_key_exists('job', $data) && null === $data['job']) { + } elseif (\array_key_exists('job', $data) && $data['job'] === null) { $object->setJob(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { $object->setRuntime(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $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']) { + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { $object->setAutoload(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['steps'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setSteps($values_2); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -111,9 +134,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -124,22 +144,36 @@ public function normalize($object, $format = null, array $context = []) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + } + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; + } + $values_2 = []; + foreach ($object->getRepositories() as $value_2) { + $values_2[] = $value_2; } - $data['runtime'] = $values; - $values_1 = []; - foreach ($object->getAutoload() as $value_1) { - $values_1[] = $value_1; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; } - $data['autoload'] = $values_1; + $data['auths'] = $values_3; if (null !== $object->getSteps()) { - $values_2 = []; - foreach ($object->getSteps() as $value_2) { - $values_2[] = $value_2; + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_2; + $data['steps'] = $values_4; } return $data; diff --git a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php index c3c92ffc..5ecad094 100644 --- a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobPipelineReadNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobPipelineRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobPipelineRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,51 +50,78 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { + if (\array_key_exists('runtimeType', $data) && $data['runtimeType'] !== null) { $object->setRuntimeType($data['runtimeType']); - } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + } elseif (\array_key_exists('runtimeType', $data) && $data['runtimeType'] === null) { $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { + if (\array_key_exists('runtime', $data) && $data['runtime'] !== null) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); - } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { $object->setRuntime(null); } - if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { + if (\array_key_exists('autoload', $data) && $data['autoload'] !== null) { $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']) { + } elseif (\array_key_exists('autoload', $data) && $data['autoload'] === null) { $object->setAutoload(null); } - if (\array_key_exists('steps', $data) && null !== $data['steps']) { + if (\array_key_exists('packages', $data) && $data['packages'] !== null) { $values_2 = []; - foreach ($data['steps'] as $value_2) { + foreach ($data['packages'] as $value_2) { $values_2[] = $value_2; } - $object->setSteps($values_2); - } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setPackages($values_2); + } elseif (\array_key_exists('packages', $data) && $data['packages'] === null) { + $object->setPackages(null); + } + if (\array_key_exists('repositories', $data) && $data['repositories'] !== null) { + $values_3 = []; + foreach ($data['repositories'] as $value_3) { + $values_3[] = $value_3; + } + $object->setRepositories($values_3); + } elseif (\array_key_exists('repositories', $data) && $data['repositories'] === null) { + $object->setRepositories(null); + } + if (\array_key_exists('auths', $data) && $data['auths'] !== null) { + $values_4 = []; + foreach ($data['auths'] as $value_4) { + $values_4[] = $value_4; + } + $object->setAuths($values_4); + } elseif (\array_key_exists('auths', $data) && $data['auths'] === null) { + $object->setAuths(null); + } + if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + $values_5 = []; + foreach ($data['steps'] as $value_5) { + $values_5[] = $value_5; + } + $object->setSteps($values_5); + } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { $object->setSteps(null); } @@ -106,9 +129,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) @@ -118,22 +138,36 @@ public function normalize($object, $format = null, array $context = []) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; + if (null !== $object->getRuntime()) { + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + } + if (null !== $object->getPackages()) { + $values_1 = []; + foreach ($object->getPackages() as $value_1) { + $values_1[] = $value_1; + } + $data['packages'] = $values_1; + } + $values_2 = []; + foreach ($object->getRepositories() as $value_2) { + $values_2[] = $value_2; } - $data['runtime'] = $values; - $values_1 = []; - foreach ($object->getAutoload() as $value_1) { - $values_1[] = $value_1; + $data['repositories'] = $values_2; + $values_3 = []; + foreach ($object->getAuths() as $value_3) { + $values_3[] = $value_3; } - $data['autoload'] = $values_1; + $data['auths'] = $values_3; if (null !== $object->getSteps()) { - $values_2 = []; - foreach ($object->getSteps() as $value_2) { - $values_2[] = $value_2; + $values_4 = []; + foreach ($object->getSteps() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_2; + $data['steps'] = $values_4; } return $data; diff --git a/src/Normalizer/WorkflowJobReadNormalizer.php b/src/Normalizer/WorkflowJobReadNormalizer.php index 7e3e777c..00961db9 100644 --- a/src/Normalizer/WorkflowJobReadNormalizer.php +++ b/src/Normalizer/WorkflowJobReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJobReadNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJobRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJobRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJobRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,19 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { $object->setWorkflow($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { + } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { + if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { $object->setPipeline($data['pipeline']); - } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + } elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && null !== $data['action']) { + if (\array_key_exists('action', $data) && $data['action'] !== null) { $object->setAction($data['action']); - } elseif (\array_key_exists('action', $data) && null === $data['action']) { + } elseif (\array_key_exists('action', $data) && $data['action'] === null) { $object->setAction(null); } @@ -74,9 +70,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowJsonldReadNormalizer.php b/src/Normalizer/WorkflowJsonldReadNormalizer.php index 4c76db66..c07427f1 100644 --- a/src/Normalizer/WorkflowJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJsonldReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowJsonldReadNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowJsonldRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowJsonldRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,43 +50,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - 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']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { + $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { $values = []; foreach ($data['jobs'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkflowJobJsonldRead::class, 'json', $context); } $object->setJobs($values); - } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { $object->setJobs(null); } @@ -98,9 +94,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkflowReadNormalizer.php b/src/Normalizer/WorkflowReadNormalizer.php index 19442b80..56ee81ab 100644 --- a/src/Normalizer/WorkflowReadNormalizer.php +++ b/src/Normalizer/WorkflowReadNormalizer.php @@ -27,19 +27,15 @@ class WorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkflowRead' === $type; + return $type === \Gyroscops\Api\Model\WorkflowRead::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowRead' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkflowRead::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,28 +50,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('code', $data) && null !== $data['code']) { + if (\array_key_exists('code', $data) && $data['code'] !== null) { $object->setCode($data['code']); - } elseif (\array_key_exists('code', $data) && null === $data['code']) { + } elseif (\array_key_exists('code', $data) && $data['code'] === null) { $object->setCode(null); } - if (\array_key_exists('label', $data) && null !== $data['label']) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { $object->setLabel(null); } - if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { + if (\array_key_exists('jobs', $data) && $data['jobs'] !== null) { $values = []; foreach ($data['jobs'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Gyroscops\Api\Model\WorkflowJobRead::class, 'json', $context); } $object->setJobs($values); - } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { $object->setJobs(null); } @@ -83,9 +79,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkspaceIdJsonldNormalizer.php b/src/Normalizer/WorkspaceIdJsonldNormalizer.php new file mode 100644 index 00000000..1e295ed9 --- /dev/null +++ b/src/Normalizer/WorkspaceIdJsonldNormalizer.php @@ -0,0 +1,81 @@ +setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { + $object->setContext(null); + } + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { + $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { + $object->setId(null); + } + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { + $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { + $object->setType(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/WorkspaceJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldNormalizer.php index 814f6e30..d789b9c2 100644 --- a/src/Normalizer/WorkspaceJsonldNormalizer.php +++ b/src/Normalizer/WorkspaceJsonldNormalizer.php @@ -27,19 +27,15 @@ class WorkspaceJsonldNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\WorkspaceJsonld' === $type; + return $type === \Gyroscops\Api\Model\WorkspaceJsonld::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkspaceJsonld' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\WorkspaceJsonld::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,57 +50,57 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data) && null !== $data['@context']) { + if (\array_key_exists('@context', $data) && $data['@context'] !== null) { $object->setContext($data['@context']); - } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + } elseif (\array_key_exists('@context', $data) && $data['@context'] === null) { $object->setContext(null); } - if (\array_key_exists('@id', $data) && null !== $data['@id']) { + if (\array_key_exists('@id', $data) && $data['@id'] !== null) { $object->setId($data['@id']); - } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + } elseif (\array_key_exists('@id', $data) && $data['@id'] === null) { $object->setId(null); } - if (\array_key_exists('@type', $data) && null !== $data['@type']) { + if (\array_key_exists('@type', $data) && $data['@type'] !== null) { $object->setType($data['@type']); - } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + } elseif (\array_key_exists('@type', $data) && $data['@type'] === null) { $object->setType(null); } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId2($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId2(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } - if (\array_key_exists('users', $data) && null !== $data['users']) { + if (\array_key_exists('users', $data) && $data['users'] !== null) { $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']) { + } elseif (\array_key_exists('users', $data) && $data['users'] === null) { $object->setUsers(null); } @@ -112,9 +108,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Normalizer/WorkspaceNormalizer.php b/src/Normalizer/WorkspaceNormalizer.php index 3a956813..95a7b543 100644 --- a/src/Normalizer/WorkspaceNormalizer.php +++ b/src/Normalizer/WorkspaceNormalizer.php @@ -27,19 +27,15 @@ class WorkspaceNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null): bool { - return 'Gyroscops\\Api\\Model\\Workspace' === $type; + return $type === \Gyroscops\Api\Model\Workspace::class; } public function supportsNormalization($data, $format = null): bool { - return \is_object($data) && 'Gyroscops\\Api\\Model\\Workspace' === $data::class; + return is_object($data) && $data::class === \Gyroscops\Api\Model\Workspace::class; } /** - * @param mixed $data - * @param mixed $class - * @param mixed|null $format - * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) @@ -54,42 +50,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && null !== $data['id']) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { $object->setId(null); } - if (\array_key_exists('name', $data) && null !== $data['name']) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { $object->setName(null); } - if (\array_key_exists('slug', $data) && null !== $data['slug']) { + if (\array_key_exists('slug', $data) && $data['slug'] !== null) { $object->setSlug($data['slug']); - } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + } elseif (\array_key_exists('slug', $data) && $data['slug'] === null) { $object->setSlug(null); } - if (\array_key_exists('organization', $data) && null !== $data['organization']) { + if (\array_key_exists('organization', $data) && $data['organization'] !== null) { $object->setOrganization($data['organization']); - } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + } elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { $object->setOrganization(null); } - if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { + if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== null) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); - } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { $object->setAuthorizations(null); } - if (\array_key_exists('users', $data) && null !== $data['users']) { + if (\array_key_exists('users', $data) && $data['users'] !== null) { $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']) { + } elseif (\array_key_exists('users', $data) && $data['users'] === null) { $object->setUsers(null); } @@ -97,9 +93,6 @@ public function denormalize($data, $class, $format = null, array $context = []) } /** - * @param mixed $object - * @param mixed|null $format - * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) diff --git a/src/Runtime/Client/BaseEndpoint.php b/src/Runtime/Client/BaseEndpoint.php index 92198b87..9e7b67b0 100644 --- a/src/Runtime/Client/BaseEndpoint.php +++ b/src/Runtime/Client/BaseEndpoint.php @@ -38,9 +38,9 @@ protected function getExtraHeaders(): array public function getQueryString(): string { $optionsResolved = $this->getQueryOptionsResolver()->resolve($this->queryParameters); - $optionsResolved = array_map(fn ($value) => null !== $value ? $value : '', $optionsResolved); + $optionsResolved = array_map(fn($value) => $value ?? '', $optionsResolved); - return http_build_query($optionsResolved, '', '&', \PHP_QUERY_RFC3986); + return http_build_query($optionsResolved, '', '&', PHP_QUERY_RFC3986); } public function getHeaders(array $baseHeaders = []): array @@ -73,7 +73,7 @@ protected function getMultipartBody($streamFactory = null): array $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 diff --git a/src/Runtime/Client/Client.php b/src/Runtime/Client/Client.php index f6a3e264..c0efdf8e 100644 --- a/src/Runtime/Client/Client.php +++ b/src/Runtime/Client/Client.php @@ -20,8 +20,8 @@ abstract class Client { - public const FETCH_RESPONSE = 'response'; - public const FETCH_OBJECT = 'object'; + final public const FETCH_RESPONSE = 'response'; + final public const FETCH_OBJECT = 'object'; /** * @var ClientInterface */ @@ -50,7 +50,7 @@ public function __construct(ClientInterface $httpClient, RequestFactoryInterface 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'); + 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.', self::class, __METHOD__, self::class, 'executeRawEndpoint'); return $this->executeRawEndpoint($endpoint); } @@ -68,14 +68,14 @@ private function processEndpoint(Endpoint $endpoint): ResponseInterface [$bodyHeaders, $body] = $endpoint->getBody($this->serializer, $this->streamFactory); $queryString = $endpoint->getQueryString(); $uriGlue = !str_contains($endpoint->getUri(), '?') ? '?' : '&'; - $uri = '' !== $queryString ? $endpoint->getUri().$uriGlue.$queryString : $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((string) $body) <= 4000 && @file_exists($body)) { // more than 4096 chars will trigger an error $request = $request->withBody($this->streamFactory->createStreamFromFile($body)); } else { @@ -85,7 +85,7 @@ private function processEndpoint(Endpoint $endpoint): ResponseInterface 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; diff --git a/src/Runtime/Client/Endpoint.php b/src/Runtime/Client/Endpoint.php index 291e466a..b08c50a9 100644 --- a/src/Runtime/Client/Endpoint.php +++ b/src/Runtime/Client/Endpoint.php @@ -20,8 +20,6 @@ interface Endpoint * * Return value consist of an array where the first item will be a list of headers to add on the request (like the Content Type) * And the second value consist of the body object. - * - * @param mixed|null $streamFactory */ public function getBody(SerializerInterface $serializer, $streamFactory = null): array; diff --git a/src/Runtime/Normalizer/CheckArray.php b/src/Runtime/Normalizer/CheckArray.php index 00ade8cb..33f05878 100644 --- a/src/Runtime/Normalizer/CheckArray.php +++ b/src/Runtime/Normalizer/CheckArray.php @@ -14,6 +14,6 @@ trait CheckArray { public function isOnlyNumericKeys(array $array): bool { - return \count(array_filter($array, fn ($key) => is_numeric($key), \ARRAY_FILTER_USE_KEY)) === \count($array); + return count(array_filter($array, fn($key) => is_numeric($key), ARRAY_FILTER_USE_KEY)) === count($array); } }